SA-MP Forums Archive
Dini - register player [REP+] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dini - register player [REP+] (/showthread.php?tid=554122)



Dini - register player [REP+] - cnoopers - 02.01.2015

Lines are created correctly but without values. Why?
Код:
    new player[64];
    new PlayerName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,PlayerName,sizeof(PlayerName));
    format(player,sizeof(player), ACCOUNTS ,PlayerName);
    dini_Create(player);
    dini_Set(player,"Password",key);
    dini_IntSet(player,"Money",3000);
    dini_IntSet(player,"Points",0);
    dini_IntSet(player,"ActualCar",503);
    dini_IntSet(player,"ClassC-HAVE",1);
    dini_IntSet(player,"ClassC-COLOR1",23);
    dini_IntSet(player,"ClassC-COLOR2",23);
    dini_FloatSet(player,"ClassC-HEALTH",1000.0);
    dini_IntSet(player,"ClassC-TIRES",60);
    dini_IntSet(player,"ClassB-HAVE",0);
    dini_IntSet(player,"ClassB-COLOR1",23);
    dini_IntSet(player,"ClassB-COLOR2",23);
    dini_FloatSet(player,"ClassB-HEALTH",1000.0);
    dini_IntSet(player,"ClassB-TIRES",60);
    dini_IntSet(player,"ClassA-HAVE",0);
    dini_IntSet(player,"ClassA-COLOR1",23);
    dini_IntSet(player,"ClassA-COLOR2",23);
    dini_FloatSet(player,"ClassA-HEALTH",1000.0);
    dini_IntSet(player,"ClassA-TIRES",60);



Re: Dini - register player [REP+] - cnoopers - 02.01.2015

anyone?


Re: Dini - register player [REP+] - cnoopers - 02.01.2015

bump


Re: Dini - register player [REP+] - Diti1 - 02.01.2015

what is the error ?


Re: Dini - register player [REP+] - Neos07 - 02.01.2015

I didn't understand what is the problem?


Re: Dini - register player [REP+] - cnoopers - 02.01.2015

got no error but after registration all lines in file got 0 value.