Problema mensaje flood
#4

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;
        }
    }
}
Y puedes hacer esto:
pawn Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS 50 //Tus maximos jugadores
Reply


Messages In This Thread
Problema mensaje flood - by krauser - 09.07.2012, 21:38
Re: Problema mensaje flood - by MrKaiser - 09.07.2012, 22:37
Respuesta: Re: Problema mensaje flood - by krauser - 09.07.2012, 22:39
Respuesta: Problema mensaje flood - by Bu11Sh0t - 09.07.2012, 22:55
Respuesta: Problema mensaje flood - by godoy32 - 10.07.2012, 00:07

Forum Jump:


Users browsing this thread: 1 Guest(s)