hi dear killtube community
i wanna auto semi-cracked system
if they are have guid save rank to their guid:but if their guid 0 i wanna save with nameCode:{ guid = self getGuid(); f=openfile(guid+".wp", "write"); fprintln(f, self.lol); fprintln(f, self.rankc); fprintln(f, self.bash); fprintln(f, self.head); fprintln(f, self.pdeaths); fprintln(f, self.omg); closefile(f); }i wanna this script already but how this script can work togetherCode:save(file) { f=openfile(self.name+".wp", "write"); fprintln(f, self.lol); fprintln(f, self.rankc); fprintln(f, self.bash); fprintln(f, self.head); fprintln(f, self.pdeaths); fprintln(f, self.omg); closefile(f); }
i did this but giving this errorCode:save(file) { guid = self getGuid(); f=openfile(guid+".wp", "write"); fprintln(f, self.lol); // witam :) fprintln(f, self.rankc); fprintln(f, self.bash); fprintln(f, self.head); fprintln(f, self.pdeaths); fprintln(f, self.omg); closefile(f); if(self getGuid() == 0) f=openfile(self.name+".wp", "write"); fprintln(f, self.lol); fprintln(f, self.rankc); fprintln(f, self.bash); fprintln(f, self.head); fprintln(f, self.pdeaths); fprintln(f, self.omg); closefile(f); }
Code:******* script compile error ******* bad syntax: (file 'huntyaudobriy/save.gsc', line 15) guid = if(self getGuid; * ************************************ ******************** ERROR: script compile error (see console for details) ******************** ----- Server Shutdown ----- ==== ShutdownGame ==== ---------------------------




Reply With Quote