0 Members and 3 Guests are viewing this topic.
SWEP.AdminSpawnable = true // Is the swep spawnable for adminSWEP.Spawnable = false // Can everybody spawn this swep ? - If you want only admin keep this false and adminsapwnable true.
Will depend on each addon.http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexdd36.html for general lua code. *You'll need to learn a bit of lua to use it. Not overly difficult.Sweps have a variable at the top of the file (or at least, should) that you enable/disable.*Code: [Select]SWEP.AdminSpawnable = true // Is the swep spawnable for adminSWEP.Spawnable = false // Can everybody spawn this swep ? - If you want only admin keep this false and adminsapwnable true.* = At least, up until Gmod12 they did...I have no idea if it changed in Gmod 13