[Help] With Dini
#1

Hi , im still learning dini now i have an problem ,
i dont know how to save Score , Cash , Admin level etc , so if someone have an idea how to make it , will be great

I tried it like this but it is not saving
pawn Код:
new file[128];
    dini_Set(file,"AdminLevel",PlayerInfo[playerid][AdminLevel]);
    dini_Set(file,"Score",PlayerInfo[playerid][Score]);
    dini_Set(file,"Cash",PlayerInfo[playerid][Cash]);
help please.
Reply
#2

Can you post here your OnPlayerLogin, OnPlayerRegister,OnPlayerConnect, OnPlayerUpdate if you are using this one to save the player stats.
Reply
#3

hmm , look i just need idea how to get
Score here:
pawn Код:
dini_Set(file,"Score",PlayerInfo[playerid][Score]);
Cash Here:
pawn Код:
dini_Set(file,"Cash",PlayerInfo[playerid][Cash]);
Reply
#4

Are you using any filterscript ? or tell me what gamemode you are using.
Reply
#5

Quote:
Originally Posted by Amel_PAtomAXx
Посмотреть сообщение
Hi , im still learning dini now i have an problem ,
You've had a problem ever since your started 'learning' dini. Switch to Y_INI or MySQL.

If your making a server, you'd be better off taking the godfather than to 'learn' dini.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)