ANTI-WEAPON HELP! - 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)
+--- Thread: ANTI-WEAPON HELP! (
/showthread.php?tid=586424)
ANTI-WEAPON HELP! -
NullBot - 22.08.2015
somebody can help me to make a security anti-weapon for RocketLauncher and Grenades and satchels
for example i need reduce a variable with contains weapon data (ammo), so when a player shoot witch rocket launcher i need reduce this variables -1
but OnPlayerWeaponShoot not work with Rocket Launcher, Grenades and Satchel, so what methods i can be used ?
Re: ANTI-WEAPON HELP! -
Abagail - 22.08.2015
Make an OnPlayerAmmoChange callback.
Re: ANTI-WEAPON HELP! -
NullBot - 22.08.2015
Give me some idea!