03.02.2010, 03:49
Anybody know how to make my admin script save score?
I am using LAdmin v4.2 :P
I am using LAdmin v4.2 :P
Originally Posted by Johnson_boy
I'm pretty sure that LAdmin saves the score, but i'm not sure.
You can also change your admin script, almost every script saves the score. You can also try JAdmin, its saves score, money, kills, deaths, spawns, disconnect loc, connect times, etc... |
// ok so inside OnPlayerDisconnect do this if (PInfo[playerid][LoggedIn] == 1) { // Was loggedin, so save the data! dUserSetINT(PlayerName(playerid)).("Score",GetPlayerScore(playerid));// score save is here } // now inside your login command / auto login, do this SetPlayerScore(playerid,dUserINT(PlayerName(playerid)).("Score"));// this sets their score to the saved amount