SA-MP Forums Archive
Need help with getting a weapon from Weapon Data - 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: Need help with getting a weapon from Weapon Data (/showthread.php?tid=133030)



Need help with getting a weapon from Weapon Data - KuHS - 10.03.2010

Hello, i try to do weapon check, im upgrading my anti cheat, so i want to check for a weapon with that id. ex: i have shooted all shotguns shells, when it checks if gun exists or not. Ex. command:
Code:
if(GetWeapon(playerid, 25) == 0) // do something if don't exists
FIXED