View Single Post
Old 29/10/2012, 07:42 PM   #1
xx360
Little Clucker
 
xx360's Avatar
 
Join Date: Feb 2012
Location: The Netherlands
Posts: 12
Reputation: 4
Flowers xxAntiVehicleFlood - Protection against lag_creator CLEO mod

xxAntiVehicleFlood
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 Code:
#include <xxAntiVehicleFlood0.2.1>

pawn Code:
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

Last edited by xx360; 20/01/2013 at 03:30 PM.
xx360 is offline   Reply With Quote