Player Weapon
#1

Hey, I've make weapon saving system with ammo, I using enum WeaponInfo weapon1 ammo1, etc.
I want to make if the player want deposit they weapon on trunk/house they must holding that weapon, how to do that ?
Reply
#2

GetPlayerWeapon(playerid)
this funtion return id of weapon which he holding

an exemple https://sampwiki.blast.hk/wiki/GetPlayerWeapon
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)