SA-MP Forums Archive
Any Ideas? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Any Ideas? (/showthread.php?tid=85847)



Any Ideas? - StrickenKid - 10.07.2009

I made my anti weapon cheat so the weapon id and amount of ammo is server-side, so if someone spawns a weapon and the script detects they have a weapon that's not valid, it bans them.
BUT, when someone buys a weapon from ammunation, it bans them too. does anyone have an idea so when someone buys a weapon at ammunation, that it will also add the ammo and weapon id to the server-side vars. OTHER THAN removing all the yellow interior/exterior markers and making an ammunation list manually?

Thanks for any replies,
-Ethan


Re: Any Ideas? - charles30 - 10.07.2009

Dont BAN/KICK him directly , send to admin a message like (''AdmWrn: Player %s ID:%s is using %s'', playername, playerid, weaponname );


Re: Any Ideas? - StrickenKid - 10.07.2009

i don't think that will work, with more than 20 people on the server and multiple players toggling through there weapons, all it would do is spam the admin warnings.... thanks for your reply though.


Re: Any Ideas? - yom - 10.07.2009

Check if his money go down by the price of the gun he buyed?


Re: Any Ideas? - StrickenKid - 10.07.2009

Quote:
Originally Posted by 0rb
Check if his money go down by the price of the gun he buyed?
i was thinking that 2.....
ill probably do that, thanks!


Re: Any Ideas? - ruarai - 10.07.2009

put boxes on top of them? :P