Jump to content
  • 0

Ajutor! Nu salveaza datele.


»Jmekeru77™

Question

Dupa cum spune si titlul...am un sistem de Register/Login care salveaza Adminul, vipul, banii, scorul, omorurile, decesele, orele - minutele - secundele. Bun problema este ca nu le salveaza. Adica ies de pe server si il inchid si intru iara se reseteaza sau nush.

Va rog din toata inima sa ma ajutati si sa imi ziceti ce are, sau sa mi-l reparati va rog din suflet. :(

PS: Nu da nici o erroare! Se compileaza fara errori/warning!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

cand faci killuri in joc , sau death'uri se salveaza?

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

public OnPlayerDisconnect(playerid, reason)
{
SavePlayerStats(playerid);
return 1;
}
stock SavePlayerStats(playerid)
{
dini_IntSet(file, "Score", GetPlayerScore(playerid));
dini_IntSet(file, "Money", GetPlayerMoney(playerid));
dini_IntSet(file, "level", PlayerInfo[playerid][Level]);
printf("Player id %d has his files saved", playerid);
return 1;
}

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Salut.

Tu esti pe MySql presupun cu gamemode RedMaxz , intra in pwn si trecel pe <dini>.

]Daca nu cere de la host data de baza si intra in pwn si trece la mysql baze account-u din GM.

<a href="http://www.game-state.eu/94.60.40.50:7777/"><img src="http://www.game-state.eu/94.60.40.50:7777/n-560x95_FFFFFF_FFFFFF_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.