Author Topic: %client.isSuperAdmin not working  (Read 820 times)

When I use it without the %client.isSuperAdmin part it works fine
What am I doing wrong?
Code: [Select]
function serverCmdShowText()
{
if(%client.isSuperAdmin && $showText == 0)
{
messageAll('', "Text is now shown");
$showText = 1;
}
}

You forgot to define %client in the function.

You forgot to define %client in the function.
Oh I see, thanks.