PDA

View Full Version : Scripting help


Black_knights55
01-25-2008, 10:05 PM
Hey,
I was scripting with the graal system like 6-7 years ago so I lost a lot of my knowledge about it lol. My question is simple, I just want to know how I can add a variable to a player like a experience count or a level or anything like that so the variable is ON the player.

I know it's a really noob question but I just can't remember how I did that.

Thanks,
Rick

projectigi
01-25-2008, 10:28 PM
uh like

clientr.level = 33;


or client.

Tigairius
01-25-2008, 10:51 PM
In Graal editor you use
setstring stringname,value;

in Gscript2 (on a server) you use what projectigi stated, you can read the value in editor using #v(number value) or #s(string value), or in Gscript2 simply by typing the string name.

cbk1994
01-25-2008, 10:54 PM
GS1:


setstring var, value;


GS2:


var = value;


if you use a clientr. var, you need to set it serverside.