Raised This Month: $ Target: $400
 0% 

Armor


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vechta
Veteran Member
Join Date: Jun 2010
Old 07-07-2010 , 08:33   Armor
Reply With Quote #1

how to detect if player has 200 armor?

If someone will say with pev armorvalue please give me then an
expample..
Vechta is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 07-07-2010 , 08:36   Re: Armor
Reply With Quote #2

Code:
new CsArmorType:ArmorType if( cs_get_user_armor( id, ArmorType ) == 200 )     // has 200 armor, ArmorType holds the armor type
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 07-07-2010 , 08:49   Re: Armor
Reply With Quote #3

and

cs_set_user_armor(id, 0, ArmorType) -> Set armor to 0 ?
Vechta is offline
Brreaker
Senior Member
Join Date: Oct 2009
Location: Constanta, Romania
Old 07-07-2010 , 12:39   Re: Armor
Reply With Quote #4

Funcwiki is your friend!
__________________
There are 10 kinds of people.Those who understand binary, and those who don't.
Also, for those who understand binary, there is a donation tab too!
No steam || PM support!
Brreaker is offline
Send a message via MSN to Brreaker Send a message via Yahoo to Brreaker
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 07:09.


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