switching to y_ini issue - 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: switching to y_ini issue (
/showthread.php?tid=519246)
switching to y_ini issue -
carl0o0s - 13.06.2014
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 !
Re: switching to y_ini issue -
UnknownOwner - 13.06.2014
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
Re: switching to y_ini issue -
carl0o0s - 13.06.2014
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/