Raised This Month: $51 Target: $400
 12% 

(CS:S) Remove player armor


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gecko
SourceMod Donor
Join Date: Nov 2010
Location: Vancouver, Canada
Old 09-14-2013 , 18:37   (CS:S) Remove player armor
Reply With Quote #1

I've been trying to figure out a way to remove a players armor.
I know there's GetClientArmor(), but I can't find anything to remove the armor.

Anybody know?
__________________
"My brain is so left-sided, it isn't even funny... at all."
Gecko is offline
Bimbo1
Senior Member
Join Date: Jan 2010
Location: brazil
Old 09-14-2013 , 18:45   Re: (CS:S) Remove player armor
Reply With Quote #2

use smlib:
http://www.sourcemodplugins.org/smlib/
it enables you the function: Client_SetArmor(client, 0);
__________________
sie sind das essen und wir sind die jäger!
Bimbo1 is offline
Gecko
SourceMod Donor
Join Date: Nov 2010
Location: Vancouver, Canada
Old 09-14-2013 , 18:49   Re: (CS:S) Remove player armor
Reply With Quote #3

Awesome! Thanks
__________________
"My brain is so left-sided, it isn't even funny... at all."
Gecko is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 09-14-2013 , 18:50   Re: (CS:S) Remove player armor
Reply With Quote #4

Example removing armor
PHP Code:
SetEntProp(clientProp_Data"m_ArmorValue"0.0); 
__________________
...

Last edited by Oshizu; 09-14-2013 at 18:51.
Oshizu 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 22:03.


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