PHP Code:
function onActionServerSide() {
if (params[0] == "test") {
player.triggerclient(this.name, "msg", timevar2);
}
}
//#CLIENTSIDE
function onCreated() {
triggerserver("gui", this.name, "test");
}
function onActionClientSide() {
if (params[0] == "msg") {
echo(params[1]);
}
}
Does the above only show one 'test <number>" when you apply the script?