29.10.2012, 18:42
(
Последний раз редактировалось xx360; 20.01.2013 в 14:30.
)
xxAntiVehicleFlood
v0.2.1
v0.2.1
Description
This include will prevent hackers from using lag_creator (mass car spawn + lag) CLEO mod.
Usage
Include this under a_samp and add the callback somewhere in your script.
pawn Код:
#include <xxAntiVehicleFlood0.2.1>
pawn Код:
public OnPlayerVehicleFlood(playerid)
{
BanEx(playerid, "Vehicle Flood");
for(new i = 0; i <= MAX_VEHICLES; i++)
{
if(IsValidVehicle(i))
{
SetVehicleToRespawn(i);
}
}
return 1;
}
Download
v0.2.1
Dropbox: http://dl.dropbox.com/u/23193562/xxA...Flood0.2.1.inc