If I want my gamemode to run off of the admins placed in this .txt how can I make it so that it does?
Do I need to do a
[lua]AddCSLuaFile( "../../../settings/users.txt" )
Include( '../../../settings/users.txt' )[/lua]
Or does it automatically grab it?
Its automatically included.
And would I just grab these groups as if they had been in the shared.lua?
ply:IsUserGroup()
Auto included when you start a server.
I don't remember if its plyIsAdmin() or IsUserGroup().
[lua]
ply:IsAdmin()
ply:IsSuperAdmin()
ply:IsUserGroup(group)
[/lua]
All three are functions.
Sorry, you need to Log In to post a reply to this thread.