[Looking For] DINI Register/Login
#8

Quote:
Originally Posted by Adam199
Write in top of the script:
#define <file>
Oh god, now that's the most stupid answer I could ever thought of.

Niixie, don't just copy paste the code, you should edit it to suit your needs. It's most probably the file's directory, so you should get the player's name and edit the script to put the file in the folder you use to save accounts.

pawn Code:
new

   PlayerName[MAX_PLAYER_NAME];
   string[128];

GetPlayerName(playerid, PlayerName, sizeof(PlayerName));

format(string, sizeof(string), "Your directory for saving users/%s", PlayerName);
dini_IntSet(string, "Cash", GetPlayerMoney(playerid));
Reply


Messages In This Thread
[Looking For] DINI Register/Login - by Niixie - 25.12.2009, 16:24
Re: [Looking For] DINI Register/Login - by DeathOnaStick - 25.12.2009, 16:40
Re: [Looking For] DINI Register/Login - by Niixie - 25.12.2009, 16:57
Re: [Looking For] DINI Register/Login - by DeathOnaStick - 25.12.2009, 17:32
Re: [Looking For] DINI Register/Login - by Niixie - 25.12.2009, 17:48
Re: [Looking For] DINI Register/Login - by Adam199 - 25.12.2009, 17:54
Re: [Looking For] DINI Register/Login - by Niixie - 25.12.2009, 17:58
Re: [Looking For] DINI Register/Login - by SpiderPork - 25.12.2009, 17:59
Re: [Looking For] DINI Register/Login - by Niixie - 25.12.2009, 18:02
Re: [Looking For] DINI Register/Login - by DeathOnaStick - 25.12.2009, 18:08

Forum Jump:


Users browsing this thread: 2 Guest(s)