AssMod: Group Help

How Do I Make Groups Allowed To Do Different Things Like Whats The Command? For Lua

Example



ply:IsRespected () Then It Will make them be able to spawn somthing?

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.



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 )


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

Two minutes to type 6 lines? You poor soul.

Post it in the fucking ASSMod thread.