02.01.2015, 22:37
All lines creating but without values - everything is 0. what is bad ?!
only password works.
only password works.
Код:
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);