How to make My admin script save scores?
#1

Anybody know how to make my admin script save score?
I am using LAdmin v4.2 :P
Reply
#2

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...
Reply
#3

Do you mean that the total kills in /stats = score on TAB?
Reply
#4

Quote:
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...
Reply
#5

i am using My Own Creative Admin Script
JAdmin has not much commands then my Admin Script i have 230+ Commands in my Admin Script
Reply
#6

Do you mean that the total kills in /stats = score on TAB?
Am i right?
If yes, i can make it for you.


Reply
#7

I would need a score saving system too, because if some1 leaves the server and comes back, he doesn't have the score.
Reply
#8

Saving score is maybe easiest thing in making admin script.
If you have created admin system, you must know how to save score, it's maybe the easiest part.
Reply
#9

hello supposing your using dudb to save player data u can do this
Код:
// 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
im pretty sure as long as you base your player saving on dudb then this will work (it does for me anyway)

Reply
#10

Thanks i maked myself saving scores
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)