Raised This Month: $ Target: $400
 0% 

Shield const [Solved!]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 07-16-2008 , 13:18   Shield const [Solved!]
Reply With Quote #1

Whats the shield's id in cs ? like CSW_aweapon... ? i want to check if is not, like this :
PHP Code:
if(wID != CSW_DEAGLE
__________________


Last edited by anakin_cstrike; 08-18-2008 at 12:28.
anakin_cstrike is offline
JFeldon
Member
Join Date: Feb 2007
Location: United Kingdom
Old 07-16-2008 , 14:09   Re: Shield const
Reply With Quote #2

This was in cstrike.inc, you could use that.
PHP Code:
/* Returns 1 if user has a shield, else 0.
 */
native cs_get_user_shield(index); 
__________________
+Karma if I helped! ;)
JFeldon is offline
Send a message via MSN to JFeldon
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 07-16-2008 , 14:28   Re: Shield const
Reply With Quote #3

Quote:
Originally Posted by JFeldon View Post
This was in cstrike.inc, you could use that.
PHP Code:
/* Returns 1 if user has a shield, else 0.
 */
native cs_get_user_shield(index); 
LOL..i forgot about cstrike functions....thanks.
__________________

anakin_cstrike 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 05:37.


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