Error with saving player's account ID 301+
#1

I solved a problem with 301+ login, now I have other problem, on disconnect or on saveplayeraccount it just use another account stats and put it into that 301's account? I don't get it.

It don't save 301's or 302's acc, or +, with theirs stats, but it takes some other stats and save it to 301, 302...

Help, please?
Reply
#2

Please, someone?
Reply
#3

Where is the script?
Reply
#4

What do you need?

Here's the begining of the saving stock

Code:
stock SavePlayerAccount(playerid)
{
	if(IsPlayerConnected(playerid))
	{
		if(gPlayerLogged[playerid])
		{
			new string3[64];
			new playername3[MAX_PLAYER_NAME];
			GetPlayerName(playerid, playername3, sizeof(playername3));
			format(string3, sizeof(string3), "users/%s.ini", playername3);
			if(fexist(string3))
			{
			new File: hFile = fopen(string3, io_write);
			if (hFile)
			{
				new var[64];
				format(var, 64, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
It works great on 300, but on 301 and + it get messed up :@
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)