[Ayuda] Anti-Crash
#4

Te dejo un AntiOnFootCrasher:


En 'OnPlayerUpdate':

pawn Код:
if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
new Float:vec[3];
GetPlayerCameraFrontVector(playerid, vec[0], vec[1], vec[2]);
new bool:crasher = false;
for (new i = 0; !crasher && i < sizeof(vec); i++)
if (floatabs(vec[i]) > 10.0)
crasher = true;

if (crasher)
{
Kick(playerid);
return 0;
}
}
Reply


Messages In This Thread
[Ayuda] Anti-Crash - by Auzen - 29.08.2013, 01:50
Respuesta: [Ayuda] Anti-Crash - by Swedky - 29.08.2013, 02:17
Re: [Ayuda] Anti-Crash - by Auzen - 29.08.2013, 02:25
Respuesta: [Ayuda] Anti-Crash - by Swedky - 29.08.2013, 02:42
Re: [Ayuda] Anti-Crash - by Auzen - 29.08.2013, 02:54
Respuesta: [Ayuda] Anti-Crash - by Swedky - 29.08.2013, 02:56
Respuesta: [Ayuda] Anti-Crash - by adrianxd - 29.08.2013, 16:36
0xFFFFFF - by Auzen - 30.08.2013, 03:01
Re: [Ayuda] Anti-Crash - by 0xFFFFFF - 31.08.2013, 23:37
Re: [Ayuda] Anti-Crash - by Auzen - 01.09.2013, 00:09

Forum Jump:


Users browsing this thread: 2 Guest(s)