addEventHandler("onPlayerLogin",root,
function()
local accName = getAccountName ( getPlayerAccount ( source ) )
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then
setElementData(source,"Admin",true)
end
end
)
--- client
if getElementData(localPlayer,"Admin") then
the same previous ex.
not at all ..