Hello ive been trying to make a basic event token system for online.
It works but when i reconnect it doesnt save the variable therefore the new string overwrites it as 0. Can you help me with my situation.
PHP Code:
// NPC made by Jerret
//#CLIENTSIDE
if (created||timeout) {
setstring client.stokens,#s(client.tokens);
showtext 1000,screenwidth-630,screenheight-330,Arial,bold,Event Tokens: #v(tokens);
changeimgzoom 1000,0.8;
changeimgcolors 1000,0,255,0,1;
changeimgvis 1000,5;
setstring client.tokens,#v(tokens);
timeout=.1;
}