switching to y_ini issue
#1

hello there .

so i have my friends (10 to 20 players)in school join in my server and the gamemode save system is .dudb.sav

there is many data of players like money cash score kills and ....

so how can i convert them all to .ini files

i must start over ?

are there any way to convert all .dudb.sav to the new y_ini save system .ini ?


i just cant reset all registered players save files

what do i do !
Reply
#2

Read the Y_INI documentation and tutorials.
You have to change almost every code in your gamemode, so I prefer you should make it again (for lack of confusion ).

You can use the search button for yini documentation
Reply
#3

reading on login

Quote:

SetPlayerScore(playerid,dUserINT(PlayerName(player id)).("Score")-GetPlayerScore(playerid));

writing on disconnect

Quote:

dUserSetINT(PlayerName(playerid)).("Score",GetPlay erScore(playerid));

i use this gamemode

https://sampforum.blast.hk/showthread.php?tid=223963


dUser
http://paste.ubuntu.com/7639470/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)