AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   strip with exception (https://forums.alliedmods.net/showthread.php?t=232255)

neverminde 12-27-2013 22:28

strip with exception
 
hi, found this post
https://forums.alliedmods.net/showpo...98&postcount=5
, i wonder is it possible to add an exception on knife ? I know there are many functions for stripping, but i want to use this one

fysiks 12-27-2013 23:16

Re: strip with exception
 
Just give them the knife back after stripping their weapons.

neverminde 12-28-2013 14:37

Re: strip with exception
 
Quote:

Originally Posted by fysiks (Post 2077316)
Just give them the knife back after stripping their weapons.

i cannot do this. in hl mod game deahtmatchclassic stripping weapons means strip ability to use weapon, so give_item("weapon_...") dont work after strip. Thats why i search some way to strip weap with exception on knife(crowbar)

fysiks 12-28-2013 15:31

Re: strip with exception
 
Quote:

Originally Posted by neverminde (Post 2077642)
i cannot do this. in hl mod game deahtmatchclassic stripping weapons means strip ability to use weapon, so give_item("weapon_...") dont work after strip. Thats why i search some way to strip weap with exception on knife(crowbar)

Then why would you say you want to use the function you linked to? It contradicts what you just said.

neverminde 12-28-2013 15:34

Re: strip with exception
 
Quote:

Originally Posted by fysiks (Post 2077674)
Then why would you say you want to use the function you linked to? It contradicts what you just said.

my bad. Thought this stuff just strip all

fysiks 12-28-2013 15:37

Re: strip with exception
 
Quote:

Originally Posted by neverminde (Post 2077678)
my bad. Thought this stuff just strip all

It does just strip all weapons . . . you are the one who said it does "more" than that.

Backstabnoob 12-28-2013 15:37

Re: strip with exception
 
Try this: http://forums.alliedmods.net/showpos...38&postcount=9


All times are GMT -4. The time now is 10:07.

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