Raised This Month: $32 Target: $400
 8% 

How to check how many flashbangs a player has?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hellmoss
Senior Member
Join Date: Oct 2009
Location: ZOMBIE PLAGUE
Old 11-12-2012 , 18:59   How to check how many flashbangs a player has?
Reply With Quote #1

If a player has one flashbang - code....
If a player has two flashbangs - other code...

Is it possible to check with user_has_weapon?

Last edited by hellmoss; 11-13-2012 at 18:52.
hellmoss is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 11-12-2012 , 20:03   Re: How to check how many flashbangs a player has?
Reply With Quote #2

Code:
cs_get_user_bpammo(id, CSW_FLASHBANG)
hleV is offline
hellmoss
Senior Member
Join Date: Oct 2009
Location: ZOMBIE PLAGUE
Old 11-13-2012 , 18:15   Re: How to check how many flashbangs a player has?
Reply With Quote #3

I figured out a way around it. But thanks anyway, I'd have given you karma, but it doesn't exist anymore ;D.
hellmoss is offline
Mr. Star
Junior Member
Join Date: Nov 2012
Old 01-09-2013 , 15:20   Re: How to check how many flashbangs a player has?
Reply With Quote #4

-_-
Mr. Star is offline
Reply



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 12:02.


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