19.11.2012, 07:22
You should take a look at the script in my sig (iweapons). With it you can disable drivebys globally or per player. You can also disable individual weapons from being used in a driveby. Also a few other features i can't really remember now. You can take a look at the code there to see how i did it.
Use these to get weapon info on a player.
https://sampwiki.blast.hk/wiki/GetPlayerWeapon
https://sampwiki.blast.hk/wiki/GetPlayerWeaponData
Use these to get weapon info on a player.
https://sampwiki.blast.hk/wiki/GetPlayerWeapon
https://sampwiki.blast.hk/wiki/GetPlayerWeaponData