It is currently 18 Nov 2018 11:42



Forum rules


Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .



Reply to topic  [ 4 posts ] 
 Cerere plugin Info Player 
Author Message
Membru, skill +3
Membru, skill +3
User avatar

Joined: 20 May 2016 16:28
Posts: 1495
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: GO.TRIED.RO
Fond eXtream: 0
Daca se poate sa imi faceti si mie acest plugin la fel ca in imagine
https://imgur.com/a/e7gaQl8

_________________
Detinator : # Go.Tried.Ro #


19 Sep 2018 21:04
Profile multumesc YIM WWW
Online
Moderator ajutator
Moderator ajutator
User avatar

Joined: 05 Jun 2016 23:04
Posts: 1040
Location: beyond the time
Detinator Steam: Da
Detinator server CS: GO/CSGO.WARED.RO
SteamID: DevilBoy_eXe
Reputatie: Moderator ajutator
Fond eXtream: 0
https://forums.alliedmods.net/showpost. ... ostcount=6

_________________


19 Sep 2018 21:16
Profile multumesc YIM WWW
Membru, skill +3
Membru, skill +3
User avatar

Joined: 20 May 2016 16:28
Posts: 1495
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: GO.TRIED.RO
Fond eXtream: 0
DevilBoy.eXe wrote:
https://forums.alliedmods.net/showpost.php?p=848196&postcount=6?p=848196&postcount=6

Nu prea imi place cum arata
Eu il vreau ca in imaginea aia , arata mai frumos cum e acolo decat de pe alied , poate are cineva plugin ul

_________________
Detinator : # Go.Tried.Ro #


19 Sep 2018 21:21
Profile multumesc YIM WWW
Online
Moderator
Moderator
User avatar

Joined: 10 Jul 2013 21:26
Posts: 2018
Location: Constanta
Detinator Steam: Da
Detinator server CS: Da
Reputatie: Moderator
Nume anterior: Do[N]e ;3
Fond eXtream: 0
| Afiseaza codul
#include 	<amxmodx>
#include <fakemeta>

#define PLUGIN "AIM INFO" //Extracted from FURIEN DIAVOLA V2.0
#define VERSION "2.0"
#define AUTHOR "Askhanar/DaNNe."


#define TEAM_FURIEN 1
#define TEAM_ANTIFURIEN 2

new cvar_aim_info, HUDEVENT;

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

cvar_aim_info = register_cvar("furien_aiminfo", "1");

HUDEVENT = CreateHudSyncObj();

register_forward(FM_PlayerPreThink, "FWD_PreThink");

}

public FWD_PreThink(id) {
if(is_user_connected(id) && is_user_alive(id)) {
if(get_pcvar_num(cvar_aim_info)) {
new Target, Body;
get_user_aiming(id, Target, Body);
if(is_user_connected(Target) && is_user_alive(Target)) {
new TargetTeam = get_user_team(Target),
PlayerTeam = get_user_team(id),
TargetHealth = get_user_health(Target),
TargetArmor = get_user_armor(Target), TargetName[32], Message[128], RED, GREEN, BLUE;
get_user_name(Target, TargetName, 31)
switch(TargetTeam) {
case TEAM_FURIEN: {
switch(PlayerTeam) {
case TEAM_FURIEN: {
formatex(Message, sizeof(Message)-1, "%s^nHP: %i | AP: %i", TargetName, TargetHealth, TargetArmor)
RED = 200
GREEN = 40
BLUE = 50
}
}
}
case TEAM_ANTIFURIEN: {
switch(PlayerTeam) {
case TEAM_FURIEN: {
formatex(Message, sizeof(Message)-1, "%s^nHP: %i | AP: %i", TargetName, TargetHealth, TargetArmor)
RED = 40
GREEN = 200
BLUE = 70
}
case TEAM_ANTIFURIEN: {
formatex(Message, sizeof(Message)-1, "%s^nHP: %i | AP: %i", TargetName, TargetHealth, TargetArmor)
RED = 20
GREEN = 50
BLUE = 200
}
}
}
}
set_hudmessage(RED, GREEN, BLUE, -1.0, -1.0, 2, 0.0, 0.1, 0.0, 0.0, -1);
ShowSyncHudMsg(id, HUDEVENT, "%s", Message)
}
}
}
}


Nu stiu sigur daca e pozitionat pe centru dar in rest ar trebui sa mearga(teoretic :joy: ). TI-am scos din sursa faza cu VIP.

Am testat pluginul si functioneaza bine. Asigurate ca ai trecut in server.cfg setarea "mp_playerid 2"

_________________


Last edited by Laurentiu P. on 20 Sep 2018 05:45, edited 2 times in total.

Edit wa



19 Sep 2018 22:43
Profile multumesc
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: infinit and 74 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

În cazul în care aveți probleme cu contul trimiteți un email sau mesaj la servicii_extream[arond]yahoo[punct]com

Powered by phpBB® Forum Software © phpBB Group