09.07.2012, 22:55
pawn Код:
new Adviced[MAX_PLAYERS];
public OnPlayerUpdate(playerid)
{
new i=0; i<MAX_PLAYERS; i++;
new Float:animX, Float:animY, Float:animZ;
new anim = GetPlayerAnimationIndex(playerid);
GetPlayerPos(playerid, animX, animY, animZ);
if((anim >= 1538) && (anim <= 1542) && animZ > 5)
{
if(Adviced[playerid] == 0)
{
format(string, 128, "* %s (ID:%d) esta usando Fly Hack.",pName(i), i);
ABroadCast(RojoIntenso, string, 1);
Adviced[playerid] = 1;
}
}
}
pawn Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS 50 //Tus maximos jugadores

