16.07.2012, 16:12
Boa tarde.
Olб povo, estou aqui pуs o anti car_sapawn flood que possuo por algum motivo nгo funciona.

Cуder;
Alguйm da um Help? Esse cуdigo nгo funfa...
Olб povo, estou aqui pуs o anti car_sapawn flood que possuo por algum motivo nгo funciona.
Cуder;
pawn Код:
if( newstate == PLAYER_STATE_DRIVER)
{
if( GetPlayerVehicleID( playerid ) != p_CarWarpVehicleID[ playerid ] )
{
if( p_CarWarpTime[ playerid ] > gettime( ) )
{
new string[128], Nome[24], IP[128];
GetPlayerIp(playerid, IP, sizeof(IP));
GameTextForPlayer(playerid, "~p~Sistema anti FDP ativado com sucesso !", 5000, 0);
GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
SendClientMessageToAll(0x1E90FFAA, string);
new banido[MAX_PLAYER_NAME];
dini_IntSet("Banidos.ini", banido, 1);
BanEx( playerid, "Car Warp" );
return 1;
}
p_CarWarpTime[ playerid ] = gettime( ) + 1;
p_CarWarpVehicleID[ playerid ] = GetPlayerVehicleID( playerid );
}
}