PHP Code:
function onActionServerSide() {
with (findplayer(params[0])) {
clientr.mud_nation = "Neutral";
}
}
//#CLIENTSIDE
function onPlayerEnters() {
if (clientr.mud_nation == NULL) {
triggerserver("gui",this.name,player.account);
}
}
Add this into your main-system. This, when you log on, check if you "clientr.mud_nation" is null (has nothing in it). If it comes out true, then it triggers the server-side which will turn your "clientr.mud_nation" to "Neutral". If it comes false, you go about normally.
If that doesn't work then I think it's because of "function onPlayerEnters()" but I believe it should work.