It's only working because you're the host. It won't work for anyone else that joins the server and it won't work for you on a dedicated server.
I see... it still works, just in a rather odd way. o.O
Tried switching it to clientCMD, then it broken entirely
If this is the case, how does one get the client of a GUI?
And how would you call a function in the GUI that specifically checks the client?
function SomeGUI::onWake(%this,%client)
{
if(%client.isAdmin)
{
//Do stuff
}
else
{
messageClient(%client,'',"GUI is admin only")
}
}
?
If it's really that easy then I'm going to kick my own ass, although it still doesn't answer the second part of my Q
Goth, can you give up?
Never!!!!1