SA-MP Forums Archive
Problem with save accounts on the server.. - 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: Problem with save accounts on the server.. (/showthread.php?tid=368280)



Problem with save accounts on the server.. [+Rep] - Ruffian - 12.08.2012

My accounts in the server don't save.


Re: Problem with save accounts on the server.. - Ruffian - 13.08.2012

Anyone help me?


Re : Problem with save accounts on the server.. - mazz57 - 13.08.2012

Hi,
Post the code in pastebin and i help you =)
peace


Re: Problem with save accounts on the server.. - Ruffian - 13.08.2012

Here the code : http://pastebin.com/krbn01Pr


Re: Problem with save accounts on the server.. - Ruffian - 13.08.2012

I give the code,anybody can help me,please?


Re : Problem with save accounts on the server.. - mazz57 - 14.08.2012

hi ,this is a stupid error ^^
Код:
public OnPlayerDisconnect(playerid, reason)
{
    if(PlayerInEvent[playerid] != 0)
    {
        EventPlayers --;
    }
    DestroyVehicle(PlayerCar[playerid]);
    SaveAccounts(playerid); // add this variable
    OnPlayerDataSave(playerid);
    //ResetStats(playerid); and delete this variable =)
	return 1;
}
+1 rep plz =)


Re: Problem with save accounts on the server.. - Ruffian - 14.08.2012

Don't work man.Account not save.. Help?

http://dox.bg/files/dw?a=bddc2dc57c - the new code (no errors)


Re: Problem with save accounts on the server.. - Ruffian - 14.08.2012

Please little help.


Re: Problem with save accounts on the server.. - Ruffian - 16.08.2012

Come on,please help..


Respuesta: Problem with save accounts on the server.. - Digao - 16.08.2012

Beware of triple or more post ... i could not see your code