function onCreated(){ if(save[0] == 1) echo("Debug: String was saved"); } //#CLIENTSIDE function onCreated() save[0] = 1;