Raised This Month: $ Target: $400
 0% 

cs_get_weapon_id problem.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 10-20-2011 , 14:48   Re: cs_get_weapon_id problem.
Reply With Quote #8

Quote:
Originally Posted by Bugsy View Post
Did you look at your code closely and/or test it? I don't think my code is very confusing except for maybe the ? Val : val2 statement.

get_user_weapons should be get_user_weapon which returns the current held weapon, this eliminates the need for get_weapon_name and get_weaponid.
LOL yeah i just saw that... i typed it out really late at night my bad

and the S on get_user_weapons is a typo... lol i meant get user weapon

Last edited by Doc-Holiday; 10-20-2011 at 14:50.
Doc-Holiday is offline
 



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 20:29.


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