hi , i test my mod on developer 1 and :
but if server on developer 0 mod work , whocan help me ?Code:******* script runtime error ******* struct is not an entity: (file 'huntyaudobriy/save.gsc', line 3) guid = self getGuid(); * called from: (file 'huntyaudobriy/dmk.gsc', line 105) thread huntyaudobriy\save::save(level.wpfile); * called from: (file 'maps/mp/gametypes/_callbacksetup.gsc', line 15) [[level.callbackStartGameType]](); * started from: (file 'maps/mp/gametypes/_callbacksetup.gsc', line 10) CodeCallback_StartGameType() * ************************************
save script :
PHP Code:save(file)
{
guid = self getGuid();
f=openfile(guid+".txt", "write");
fprintln(f, self.lol);
fprintln(f, self.rankc);
closefile(f);
}



Reply With Quote