AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Strip ony one item (https://forums.alliedmods.net/showthread.php?t=220433)

CodeStepper 07-10-2013 16:33

Strip ony one item
 
It is possible strip only one item? For ex. only nvgs or thighpack?

baneado 07-10-2013 16:51

Re: Strip ony one item
 
for disable nightvision use
PHP Code:

cs_set_user_nvg(id0


akcaliberg 07-10-2013 16:54

Re: Strip ony one item
 
cs_set_user_defuse
and
cs_set_user_nvg
functions can do this.

CodeStepper 07-10-2013 17:04

Re: Strip ony one item
 
Oh... thanks... :)
I don't think it was that simple :D

myusername 01-13-2014 09:07

Re: Strip ony one item
 
what if already have nvg(enabled) and then disable nvg. Nvg will disabled with enabled -_-
How to solve this?

mottzi 01-14-2014 10:14

Re: Strip ony one item
 
^
cs_set_user_nvg(id, !cs_get_user_nvg(id))

connoisseur 01-18-2014 09:24

Re: Strip ony one item
 
what about stripping any specific weapon like grenades or secondary weapon only?

bibu 01-18-2014 09:29

Re: Strip ony one item
 
https://forums.alliedmods.net/showthread.php?t=56377


All times are GMT -4. The time now is 06:21.

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