AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   (CS:S) Remove player armor (https://forums.alliedmods.net/showthread.php?t=226203)

Gecko 09-14-2013 18:37

(CS:S) Remove player armor
 
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?

Bimbo1 09-14-2013 18:45

Re: (CS:S) Remove player armor
 
use smlib:
http://www.sourcemodplugins.org/smlib/
it enables you the function: Client_SetArmor(client, 0);

Gecko 09-14-2013 18:49

Re: (CS:S) Remove player armor
 
Awesome! Thanks

Oshizu 09-14-2013 18:50

Re: (CS:S) Remove player armor
 
Example removing armor
PHP Code:

SetEntProp(clientProp_Data"m_ArmorValue"0.0); 



All times are GMT -4. The time now is 14:27.

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