Giving back old stats from the folder - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Giving back old stats from the folder (
/showthread.php?tid=181632)
Giving back old stats from the folder -
Ivan_Pantovic - 06.10.2010
Hello , i need a simple cmd that will open a scriptfiles/oldlsl/playername.ini and read some informations from it and than add them to the server... I used one GM for some time ... players were (still are) playing on my server ... and i found a new GM that is much better , and i wanna to use it , so i need to have this ...
Infos i need :
written - on new server in use name
Key - pKey
Level - pLevel
AdminLevel - pAdminLevel
Money - pCash (i will use giveplayermoney for this)
Bank - pAccount
ConnectedTime - pPayDay
Respect - pRespect
Please help
Re: Giving back old stats from the folder -
randomkid88 - 06.10.2010
Where do you want the new information written to? What is the full path
ie: scriptfiles/users/(playername).ini
Re: Giving back old stats from the folder -
Ivan_Pantovic - 07.10.2010
Quote:
Originally Posted by randomkid88
Where do you want the new information written to? What is the full path
ie: scriptfiles/users/(playername).ini
|
i want it to work like get Key and than playerinfo[playerid][pKey] == keyfromold file