On the Q Menu how do I disable admins and superadmins from spawning entities? Or atleast admins.
Thanks!
And how do I make it so they cant spawn sertent things?
Well, You can look into the entity shared.lua file you want to disable, and then:
If it does have ENT.AdminSpawnable = True
Change that to ENT.AdminSpawnable = False,
If you want to disable this for everyone, then change ENT.Spawnable = True to ENT.Spawnable = False.
[CODE]ENT.Base = "wac_hc_base_u"
ENT.Type = "anim"
ENT.Author = wac.author
ENT.Category = wac.aircraft.spawnCategoryU
ENT.Spawnable = true -- Change this to disable from users from spawning.
ENT.AdminSpawnable = true -- Change this to disable admins using this. (might disable you from spawning an entity)[/CODE]
Hope this helps!
P.S, Evolve admin plugin makes you able to set what user groups can spawn what and what they can't spawn.
Sorry, you need to Log In to post a reply to this thread.