Some problem
#2

Try this:

pawn Код:
if(GetPlayerAnimationIndex(playerid))
{
new animlib[32],animname[32],acname[MAX_PLAYER_NAME];
GetPlayerName(playerid, acname, sizeof(acname));
GetAnimationName(GetPlayerAnimationIndex(playerid) ,animlib,32,animname,32);
if(strcmp(animlib, "PED", true) == 0)
{
if(strcmp(animname, "RUN_PLAYER", true) == 0)
{
format(string, sizeof(string), "AdmWarn: %s[%d] possibly CJ Running", acname,playerid);
// Your sendmessagetoadmins
ABroadCast(COLOR_YELLOW,string,1);
}
}
return 1;
}
Reply


Messages In This Thread
Some problem - by Trol_Patrol - 09.08.2011, 12:25
Respuesta: Some problem - by RatHack - 09.08.2011, 12:28
Re: Some problem - by Trol_Patrol - 09.08.2011, 12:31
Respuesta: Some problem - by RatHack - 09.08.2011, 12:32
Re: Some problem - by MadeMan - 09.08.2011, 12:33
Re: Some problem - by Jay. - 09.08.2011, 12:33
Re: Some problem - by Trol_Patrol - 09.08.2011, 12:35
Re: Some problem - by MadeMan - 09.08.2011, 12:36
Re: Some problem - by Trol_Patrol - 09.08.2011, 12:39

Forum Jump:


Users browsing this thread: 1 Guest(s)