Dini saveing..
#1

I have worked hard but still dont understand this -

Код:
	if(IsLogged[playerid] == 1) {
	dini_IntSet(str, "PlayerLevel", GetPlayerScore(playerid));
	dini_IntSet(str, "Cash", GetPlayerMoney(playerid));
	}
This code need to save player stats after disconnecting, but it wont..

I have this same code puted in OnPlayerSpawns and it works perfectly..
But i still want to save stats after, before disconnecting every time..

Just cant understand..

I have builded similar code to another dini login/register script and it does that as well (Saving after disconnect)

HELP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)