There's some weapons i'm installing to my server that need to be admin only due to minge/spam reasons. In the shared.lua, I have changed SWEP.AdminSpawnable = true and SWEP.Spawnable = false. In game, it seems as if I can't see these weapons in the entity menu, even though I'm a super admin through ULX and the users.txt in my server files. I have tried without the changes to the shared.lua, and it worked fine. I need some form of restriction for weapons, or a fix to my problem, as I assume my rank isn't working through the servers. Thanks in advance.
My users.txt:
Code: Select all
"Users"
{
	//
	// This is your users file
	//
	// You can use this file to add people as admins on your server
	// Add them to the relevant section
	//
	// If you're a Lua coder you can add your own sections and use them
	// in your script by doing pl:IsUserGroup( "admin" ) etc
	//
 
	"superadmin"
	{
		"Zangrande"			"STEAM_0:0:53573699"
	}
 
	"admin"
	{
		"Zangrande"			"STEAM_0:0:53573699"
	}
 
}