Saving System Help (Hadmin)
#1

Hi! So, I have this problem with Hamptonin administration filterscript savings! This is what happens:
1. I want to restart server cause I added new maps!
2. For example, 5 players are on my server!
3. They all have 10+ score and around 50k money!
4. I restart server!
5. Players reconnect!
6. They login, but score and money are now 0!

Q: What I want?
A: I would like to know how can players "save" there money and score without leaving server and rejoining when I restart it!

Can someone help me pls? Any help would be appriciated!
Reply
#2

I dont know this system but ...
I guess you will need to use loop when you restart

something like

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
      dini_IntSet(file,"Level",GetPlayerScore(i));
}
of course the variables are not the same , I just used the variables on my server ....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)