AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   CSS remove all weapons except knife? (https://forums.alliedmods.net/showthread.php?t=259349)

D.Moder 03-05-2015 16:18

CSS remove all weapons except knife?
 
I'm writing a mod, and I need to make sure when round starts all players have only knifes
and help will save me a bit of time on this huge a** mod I'm writing...

and by the way whoever wants to help me finish this faster, let me know
my mod is 90% done!

KissLick 03-05-2015 16:23

Re: CSS remove all weapons except knife?
 
SMLIB (https://github.com/bcserv/smlib) ->
PHP Code:

stock Client_RemoveAllWeapons(client, const String:exclude[]=""bool:clearAmmo=false


D.Moder 03-05-2015 16:29

Re: CSS remove all weapons except knife?
 
Quote:

Originally Posted by KissLick (Post 2269990)
SMLIB (https://github.com/bcserv/smlib) ->
PHP Code:

stock Client_RemoveAllWeapons(client, const String:exclude[]=""bool:clearAmmo=false


Wow, I can't believe I missed that! thank you!


All times are GMT -4. The time now is 01:42.

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