So, I haven't scripted in a bit, but for some reason, this seems right, and its not working. GUIDE ME PLZZORS.
PHP Code:
function onActionPlayerOnline()
{
triggerClient("gui", this.name, "setguild", player.guild);
}
//#CLIENTSIDE
function onActionClientSide() {
clientr.guild = params[0];
}