Function to check player holding weapon?
#1

Hey, I've been searching for a while now but I couldn't really find a function to see if the player is holding a certain weapon ID, any help is appreciated.
Reply
#2

https://sampwiki.blast.hk/wiki/GetPlayerWeapon
must not have searched for that long
Reply
#3

i think it is getplayerweapon(playerid)
Reply
#4

Check if a player is currently holding/has equipped a certain weapon: GetPlayerWeapon
Check if a player has a weapon in their inventory (Doesn't have to be equipped): GetPlayerWeaponData
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)