I agree at the annoyance of restarting the client. It'd be nice if the delay was fixed as well. On Era we do:
PHP Code:
function onActionServerSide(cmd) {
if (cmd = "requestReady") {
player.triggerClient("gui", this.name, "clientsideReady");
}
}
//#CLIENTSIDE
function onCreated() {
player.join("player");
player.triggerServer("gui", name, "requestReady");
}
function onActionClientSide(cmd) {
if (cmd == "clientsideReady") {
for (temp.weapon : player.weapons) {
weapon.trigger("playerReady", null);
}
}
}
And then any scripts that call player functions can use the event onPlayerReady instead of onCreated. Hope that helps someone with this problem.