Raised This Month: $ Target: $400
 0% 

check if player has a weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
QuickDroLLL
Member
Join Date: Dec 2021
Location: Algeria
Old 08-14-2022 , 18:03   check if player has a weapon
Reply With Quote #1

so can someone help me
how i can check if player holding a weapon without user_has_weapon bcz its check the specif weapon like user_has_weapon(id, CSW_C4) i just wan't it all like user_has_weapon(id, All) only knife it will not registed as user_has_weapon but if ak or m4 it will registed as user has weapon i hope you understand me.
sry for bad english
QuickDroLLL is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-14-2022 , 20:08   Re: check if player has a weapon
Reply With Quote #2

Use get_user_weapon() to know what they are holding.
__________________
fysiks is offline
QuickDroLLL
Member
Join Date: Dec 2021
Location: Algeria
Old 08-15-2022 , 10:45   Re: check if player has a weapon
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
Use get_user_weapon() to know what they are holding.
ok thanks.
QuickDroLLL is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:49.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode