ULX

Author Topic: How do I get rid of the right click to get a gun?  (Read 2385 times)

0 Members and 2 Guests are viewing this topic.

Offline Typo001

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • My (Personal) Site
How do I get rid of the right click to get a gun?
« on: April 19, 2008, 05:58:16 PM »
I have a RP server and anybody can just right click and get any of them, is it possible to turn this off?
thanks

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: How do I get rid of the right click to get a gun?
« Reply #1 on: April 20, 2008, 12:16:36 AM »
go into the init.lua file for each of the sweps and make SWEP.spawnable = false instead of true

this will not allow them to be spawned.

If AdminSpawnable is true than admins will be able to spawn them though...