Ulysses
General => Developers Corner => Topic started by: rocco1233 on October 15, 2014, 07:03:53 PM
-
Hello, I was wondering if it would be possible to create a command under the Fun tab similar to strip, however i want it to target a specific SWEP. This is needed for users who potentially abuse an SWEP ruining the game for others. Since i am fairly new to lua and BRAND NEW to ULX, i was wondering if i could
- Make a command so i can remove a specific SWEP for one round
- Make a command so i can remove a specific SWEP permanently
- Make a command so i can grant the SWEP back to someone who has previously had the SWEP removed permanently
I feel like this would have something to do along the lines of targeting the weapon slot it is carried in. I hate to just ask for templates so if you feel like that is too much, guidelines would also be appreciated.
-
Player/StripWeapon (http://wiki.garrysmod.com/page/Player/StripWeapon)