[FilterScript] Anti-RapidFire, Anti-Car Warp.
#1





-Filterscipt contains: Anti-RapidFire, Anti-Car Warp.

Weapon ID 28 - Micro SMG/Uzi
Weapon ID 32 - Tec9
Weapon ID 38 - Minigun

=> Micro SMG/Uzi + Tec9 + Minigun = Disabled.
I have disabled the following weapons: Uzi - Tec9 - Minigun.
Because they normally shoot fast. For example, uzi shoots 15 bullets in 2 seconds
Since they don't work in Rapidfire too, so this is why they've been disabled.
For the other weapons, they successfully work.
When a player uses Rapidfire on the other weapons except those up ^^^ he/she
will immediatly be (kicked).
Do not forget to change 'Kick' function to your gamemode's.
To see the code of the Rapidfire thing, go to OnPlayerWeaponShot.
--
Anti Car warping system
When the player try to enter three vehicles in 3 seconds the system will detect him and he will immediatly will be kicked (You can change it to Ban instead of Kick samething goes to Rapid fire system..




Pastebin: http://pastebin.com/g57skTUB - Updated, Weapon none damages bug fixed.
Mediafire: Laggy


Anti Rapid fire system credits goes to http://forum.sa-mp.com/showthread.ph...eatures on it.
..
Reply
#2

Good Work!
Reply
#3

Quote:
Originally Posted by BiKode
Посмотреть сообщение
Good Work!
Thanks.
Reply
#4

It can be optimized a lot...

Logical:

Код:
IsPlayerInAnyVehicle(playerid) || newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER
If player is in any vehicle, why check if he's a passenger or a driver? Good job anyways.
Reply
#5

nice job.
Reply
#6

Quote:
Originally Posted by n0minal
Посмотреть сообщение
It can be optimized a lot...

Logical:

Код:
IsPlayerInAnyVehicle(playerid) || newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER
If player is in any vehicle, why check if he's a passenger or a driver? Good job anyways.
Because in some hacks if a normal player driving and the hacker warped to him he will be a passenger not a driver.
Reply
#7

Simple&Awesome Good job
+REP

((3ash ya zmeel))
Reply
#8

Well done.
Reply
#9

Updated, bugs fixed.
Reply
#10

Код:
Changelogs:

*Improvements in the Vehicles Hack system.
*Updated the Player Kick system.
* Fixed the none damage for weapons "UZI,TEC"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)