Player Wanted
#1

Hey i have an Login / Register System.
How to do that the System Save the Wanted LvL ?

Reply
#2

Hmm, i searched didnt find nothing... im searching for that too if anyone knows it please tell it.
Reply
#3

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:
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);
////
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!
Reply
#4

I have it :P Thanks ^^ You can close these thread
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)