blob: fc436f4b3be70edb78cf838ba427e20f753f08ca (
plain)
1
2
3
4
5
6
7
8
9
|
hook.Add("PrePACConfigApply", "donators only", function(ply, outfit_data)
if not ply:IsSuperAdmin() then
return false, "give us money!"
end
end)
hook.Add( "PrePACEditorOpen", "RestrictToSuperadmin", function( ply )
return ply:IsSuperAdmin(), "This is accessable only to superadmins"
end )
|