Saving And Loading
#1

Hi Guys
I'm Trying To Make A Script Which Makes A Player Have Arrays Like Gold bars, Weed, etc.....
I Made It But I Can't Make It Save The Amount Of Gold You Have And Then Load It When You Re-login.

I've Searched *******,******, This Forum But I Still Don't Know How To Do It Or How It Works Please Help Fast.

Thank You

Here's The Code
Quote:

new gold[500];
new goldz[124];

Quote:

CMD:goldme(playerid,params[])
{
gold[playerid] += 10;
return 1;
}
CMD:mygold(playerid,params[])
{
format(goldz,sizeof(goldz),"[System]: You Have %i Goldbars",gold);
SendClientMessage(playerid,COLOR_LIME,goldz);
return 1;
}

Reply
#2

do you have any account registering system?
Reply
#3

You using y_ini ?
Reply
#4

Yes I Have An Account Registering But I Don't Know How To Use y_ini I Just Need Any Method If It's dini y_ini Anything To Save These Variables
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)