Quote:
Originally Posted by Inverness
serveroptions.<varname>
staffarray = serveroptions.staff.tokenize(",");
PHP Code:
function onActionPlayerOnline() {
if ((player.account in serveroptions.staff.tokenize(",")) || (player.account in serveroptions.norcstaff.tokenize(","))) {
clientr.staff = true;
}
}
serveroptions. is accessible serverside only, don't like that fact too much.
|
Ahh, didn't notice that was added.
