DeatheR's Anti-Ammo Hack -
deather - 28.09.2010
---- |)ЂΩ†{−}ЂR™'s ----
---- d-BOT Anti- Ammo Hack----
This is a simple but a powerful anti-ammo hack. Tested will all weapons.
---- DOWNLOADS ----
d-BOT's Anti-Ammo Hack (Solidfiles)
d-BOT's Anti-Ammo Hack (MediaFire)
d-BOT's Anti-Ammo Hack (Pastebin)
---- SCRIPTED BY ----
|)ЂΩ†{−}ЂR - Born to Kill
---- CREDITS ----
1. Matthias - IsValidWeapon stock
---- IMPORTANT ----
You can edit this to your satisfaction and use it in your server.
But you are not allowed to re-release it as your script anywhere.
Donot remove the credits.
Found any bugs? Post them.
Re: DeatheR's Anti-Ammo Hack -
Hiddos - 28.09.2010
Efficient code, I'll take a look at it

. Was thinking on creating an anti-weapon hack as well, screw you ^^. Small thing: You don't need to use "forward" when creating stock functions. Other then that, good job.
Re: DeatheR's Anti-Ammo Hack -
[4k]Wang - 28.09.2010
Nice like the concept man,
It actully looks fine from what i checked too.
Lets hope some people put this to use on DM servers etc.
I hate hackers..
Re: DeatheR's Anti-Ammo Hack -
CyNiC - 28.09.2010
The best codes are small and efficient as this.
Re: DeatheR's Anti-Ammo Hack -
royal_king - 28.09.2010
Nice one dude good job
Re: DeatheR's Anti-Ammo Hack -
BMB! - 28.09.2010
nice joob
Re: DeatheR's Anti-Ammo Hack -
deather - 29.09.2010
Thank you..
Quote:
You don't need to use "forward" when creating stock functions. Other then that, good job.
|
It showed
Код:
function with tag result used before definition, forcing reparse
If you dont want it, you can always paste the stock above the OnGameModeInit (before calling the stock)
Re: DeatheR's Anti-Ammo Hack -
Blantas - 29.09.2010
Quote:
Originally Posted by cynic
The best codes are small and efficient as this.
|
Not always.
Re: DeatheR's Anti-Ammo Hack -
Matthias_ - 29.09.2010
Quote:
Originally Posted by deather
Thank you..
It showed
Код:
function with tag result used before definition, forcing reparse
If you dont want it, you can always paste the stock above the OnGameModeInit (before calling the stock)
|
That means you used the function (IsValidWeapon) with a tag result (bool) before declaring it (the stock), so moving the callback to the end should work.
Re: DeatheR's Anti-Ammo Hack -
-=Dar[K]Lord=- - 01.07.2013
Quote:
Originally Posted by dEcooR
it dont works for me it always bann me lol and i tested it on lvdm .. wtf so it always make me hackar
|
Just Add IsPlayerAdmin which will check if the player is admin or not
[NOTE]:- if(!IsPlayerAdmin(playerid)) means if the player is not rcon admin and the cheat is detected
OnTopic:-
Nice work

+rep