SA-MP Forums Archive
The accounts not saving. - 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: The accounts not saving. (/showthread.php?tid=378124)



The accounts not saving. - Misterflowers - 16.09.2012

My GM is not saving accounts what I have to do?


Re: The accounts not saving. - Glint - 16.09.2012

No codes ?

No log ?

No sufficiant information ?

What do you think we can do give us more information and show us your script.


Re: The accounts not saving. - AtItsMax - 16.09.2012

Please show us the saving function or your OnPlayerDisconnect callback.


Re: The accounts not saving. - Misterflowers - 16.09.2012

Quote:
Originally Posted by AtItsMax
Посмотреть сообщение
Please show us the saving function or your OnPlayerDisconnect callback.
Here..
Quote:

public OnPlayerDisconnect(playerid, reason)
{
OnPlayerUpdate(playerid);
PlayerSawDialog[playerid] = 0;
return 1;
}




Re: The accounts not saving. - AtItsMax - 16.09.2012

Quote:
Originally Posted by Misterflowers
Посмотреть сообщение
Here..
What was that?
Do you have any saving function on your OnPlayerUpdate callback?
Please be specific we cannot help you this way.


Re: The accounts not saving. - Glint - 16.09.2012

Why are you calling OnPlayerUpdate ?

And which saving system you use ?

y_ini ?
Dini ?
SII ?
SQLite ?
MySQL ?


Re: The accounts not saving. - MrBorsh - 16.09.2012

If you have scripted a login/register system, make sure you have this "Accounts/%s.ini" or "Users/%s.ini" in your OnPlayerDisconnect, fully regarding which login/register system. Also, you should add "Accounts" folder or "Users" folder to your scriptfiles folder.