25.06.2014, 20:27
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
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; } |