mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:27:34 +00:00
fix: LocalPlayer():gmIntIsAdmin()
This commit is contained in:
parent
e6f2b079be
commit
e3d95296b2
|
@ -17,7 +17,7 @@ function gmInte.showTestConnection(data)
|
|||
end
|
||||
|
||||
function gmInte.openAdminConfig()
|
||||
if !ply:gmIntIsAdmin() then
|
||||
if !LocalPlayer():gmIntIsAdmin() then
|
||||
chat.AddText(Color(255, 130, 92), "[Gmod Integration] ", Color(102, 63, 63), "You are not superadmin")
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user