SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 29/10/2012, 06: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 02:30 PM.
xx360 is offline   Reply With Quote
Old 29/10/2012, 07:16 PM   #2
Stylock
Huge Clucker
 
Stylock's Avatar
 
Join Date: Dec 2010
Posts: 315
Reputation: 155
Default Re: xxAntiVehicleFlood - Protection against lag_creator CLEO mod

I'm almost certain that every CLEO mod that has something to do with flying vehicles can be detected with this code.
Stylock is offline   Reply With Quote
Old 29/10/2012, 07:21 PM   #3
Patrick
Guest
 
Posts: n/a
Default Re: xxAntiVehicleFlood - Protection against lag_creator CLEO mod

Nice Now I Can Use it.. on my cnr because someone trying to spam vehicles and try to lag or crash the server.. good job bro!
  Reply With Quote
Old 30/10/2012, 04:11 PM   #4
niels44
High-roller
 
niels44's Avatar
 
Join Date: Jul 2011
Location: Wooden Box
Posts: 1,101
Reputation: 39
Default Re: xxAntiVehicleFlood - Protection against lag_creator CLEO mod

nice job, but same as ******, show us some things we could use in the callback, or some of your code of how it works...
niels44 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] xxAntiVehicleFlood xx360 Filterscripts 1 26/10/2012 02:21 PM
Player Protection. Like Protection when entering checkpoint. and interior. stevestelford Scripting Help 2 08/06/2012 12:03 AM
Somebody please help me with CLEO mod.. Jing_Chan General 3 09/03/2012 06:21 PM
[FilterScript] Spawn Protection Filterscript [K665's Spawn Protection] Kerlan Filterscripts 17 28/11/2011 01:02 PM


All times are GMT. The time now is 09:50 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.