• AssMod: Group Help
    7 replies, posted
How Do I Make Groups Allowed To Do Different Things Like Whats The Command? For Lua Example [code] ply:IsRespected () Then It Will make them be able to spawn somthing?[/code] I want them to be able to spawn somthing and stuff! and make stuff respected.
[lua] and like this: (serverside) [lua] function test(ply) if ply:IsRecpected then ply:Kill() end end concommand.Add("test",test) [/lua] about that?
I see 3 mistakes there. [lua]local function test(ply) if ply:IsRespected() then ply:Kill() end end concommand.Add("test",test) [/lua]
[lua] local function test(ply) if ply:HasLevel( ASS_LEVEL_RESPECTED ) then ply:Kill() end end concommand.Add("test",test) [/lua] Other levels include. [code] ply:HasLevel( ASS_LVL_SERVER_OWNER ) ply:HasLevel( ASS_LVL_SUPER_ADMIN ) ply:HasLevel( ASS_LVL_ADMIN ) ply:HasLevel( ASS_LVL_TEMPADMIN ) ply:HasLevel( ASS_LVL_RESPECTED ) [/code]
[QUOTE=thomasfn;14709364]I see 3 mistakes there. [lua]local function test(ply) if ply:IsRespected() then ply:Kill() end end concommand.Add("test",test) [/lua][/QUOTE] i dont care, i did this in 2 min, then i needed to go to my mom and eat there.
Hi, im new to ASSMod, and i do not know how to add my self as an owner.. Doesn't work in the console so i tried looking in the files and did not find anything. Please help ASAP my server has no protection because i cant give people Admin. If anyone could help me get myself owner That would be Great! Thanks
[QUOTE=bromvlieg;14709688]i dont care, i did this in 2 min, then i needed to go to my mom and eat there.[/QUOTE] Two minutes to type 6 lines? You poor soul.
[QUOTE=scalver;16570607]Hi, im new to ASSMod, and i do not know how to add my self as an owner.. Doesn't work in the console so i tried looking in the files and did not find anything. Please help ASAP my server has no protection because i cant give people Admin. If anyone could help me get myself owner That would be Great! Thanks[/QUOTE] Post it in the fucking ASSMod thread.
Sorry, you need to Log In to post a reply to this thread.