02.12.2009, 13:27
You'd have to add your own part into the currently existing saving function. Each saved player variable has to go through relatively the same process.
Ex:
So clearly if you wanted to add to it, you would just copy the saving portion that's similar to what you want saved (like if it's an integer, a float, or a string) and then change it to your variable.
sassafratz!
Ex:
pawn Код:
////Mid-Script example
format(tmp,sizeof(tmp,"CheeseBurgrz = %d",pCheeseBurgrz[playerid]);
fwrite(file,tmp);
//Next line is similar
format(tmp,sizeof(tmp,"KetchupBottlz = %d",pKetchup[playerid]);
fwrite(file,tmp);
////
sassafratz!