ok my fault wrong words. i tried somethings but i'm getting error like this;
first i tried to this
Code:
save(file)
{
name = self getName();
f=openfile(name+".wp", "write");
fprintln(f, self.lol);
// witam :)
fprintln(f, self.rankc);
fprintln(f, self.bash);
fprintln(f, self.head);
fprintln(f, self.pdeaths);
// yo
fprintln(f, self.omg);
closefile(f);
}
Code:
******* script compile error *******
bad syntax: (file 'huntyaudobriy/save.gsc', line 3)
guid = self.name();
*
************************************
********************
ERROR: script compile error
(see console for details)
********************
----- Server Shutdown -----
==== ShutdownGame ====
what's wrong