my scores are not saving -
iOmar - 14.01.2012
my server is not hosted, SO when i shut down the server lose all scores. Can any one know how to save scores??
Re: my scores are not saving -
Mean - 14.01.2012
Use a file saving system, or a MySQL database. Tutorials can be found all around the forum.
Re: my scores are not saving -
Konstantinos - 14.01.2012
OnPlayerDisconnect the scores are saved?
If yes, paste the saving part from OnPlayerDisconnect to OnFilterScriptExit. You will need the foreach.
pawn Код:
public OnFilterScriptExit()
{
foreach(Player, i)
{
// Code Here
// Instead (ex:) PlayerInfo[playerid][Admin], use PlayerInfo[i][Admin]
}
// Rest
return 1;
}
Re: my scores are not saving -
iOmar - 14.01.2012
can any one show me tutorial?? So it will help me alot
Re: my scores are not saving -
Konstantinos - 14.01.2012
Scripting Tutorials
Re: my scores are not saving -
iOmar - 14.01.2012
no i need some scripts for score saving please
Re: my scores are not saving -
Konstantinos - 14.01.2012
What do you use for saving?
Re: my scores are not saving -
iOmar - 14.01.2012
thanks i solved my prob
![Wink](images/smilies/wink.png)
But one more thing can you give me /giveallscore and /giveallmoney cmd code for if and else
Re: my scores are not saving -
XxGenerationXx - 14.01.2012
Yea How do u doing
Re: my scores are not saving -
iOmar - 15.01.2012
i don't understand. In GM Where i need to make loop shouth bro
Re: my scores are not saving -
iOmar - 15.01.2012
thanks it help me alot
Re: my scores are not saving -
thimo - 17.01.2012
Err this should be in scripting discussion?