[Ajuda] Servidor !!! urgente !!!!!!!!!
#2

Tente colocar isto no seu GM, um FS Anticrasher:

Код:
#define FILTERSCRIPT

#include <a_samp>
 
//Anti-(Player)Crasher  0.3x
//by bartekdvd
public OnPlayerUpdate(playerid)
{
    if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        new Float:vec[3];
        GetPlayerCameraFrontVector(playerid, vec[0], vec[1], vec[2]);
        new bool:possible_crasher = false;
        for (new i = 0; !possible_crasher && i < sizeof(vec); i++)
            if (floatabs(vec[i]) > 10.0)
                possible_crasher = true;
       
        if (possible_crasher)
            return 0; //do not send fake data, prevents crash
    }

    return 1;
}
Reply


Messages In This Thread
Servidor !!! urgente !!!!!!!!! - by neymar1477 - 20.09.2014, 01:21
Re: Servidor !!! urgente !!!!!!!!! - by DavidEstanislau - 20.09.2014, 01:28
Re: Servidor !!! urgente !!!!!!!!! - by DavidEstanislau - 20.09.2014, 01:31
Re: Servidor !!! urgente !!!!!!!!! - by zqkRazer - 20.09.2014, 01:37

Forum Jump:


Users browsing this thread: 1 Guest(s)