25.09.2013, 23:48
Quote:
Quote:
Sobre o Anti Crash, tem esse aqui que eu uso:
pawn Код:
new FirstKick[MAX_PLAYERS char];
public OnPlayerUpdate(playerid)
{
new Float: x,Float:y,Float:z; GetPlayerCameraFrontVector(playerid,x,y,z);
if(((-1.0 <= x <1.0) && (-1.0 <= y <1.0) && (-1.0 <= z <1.0)) == false)
{
if(FirstKick{playerid})
{
Kick(playerid);
}
else
{
FirstKick{playerid} = 1;
}
return 0;
}
return 1;
}
public OnPlayerConnect(playerid)
{
FirstKick{playerid} = 0;
return 1;
}