01.03.2014, 00:39
Hello I have an issue with saving I have this Method here for quick saving This basically calls my saving method quickly instead of having to type in all that code.
Ok the main point here is the code below sometimes work and sometimes does not work as you can see I also added print statement to see where the code stops and it stops at layer1 pass3 and give me a "Sever Unknow command error"
It passes all the way threw the savecardata method since I have print statement there to so there is not really any point in showing it to you but if you want to see it I can show it to you
Ok the main point here is the code below sometimes work and sometimes does not work as you can see I also added print statement to see where the code stops and it stops at layer1 pass3 and give me a "Sever Unknow command error"
It passes all the way threw the savecardata method since I have print statement there to so there is not really any point in showing it to you but if you want to see it I can show it to you
pawn Код:
SaveQuickCarData(carid)
{
print("layer1 pass1");//remove
new INI:datasave = INI_Open(carfilename);
print("layer1 pass2");//remove
SaveCarData(datasave,carid);
print("layer1 pass3");//remove
INI_Close(datasave);//Here
print("layer1 pass4");//remove
}