Update player information without restarting server?
#1

I want to be able to go into my files while the server is running and be able to change players information. Because when I change info in the files, it requires a restart to be affective. But restart also disconnects all players.Is there any way to do update the player info without restarting the server?

Thanks
Reply
#2

Use a ingame command or script it?
Reply
#3

well i dont wanna have to go ingame. what else is there?
Reply
#4

and i cant modify files in the scriptfiles folder while im in game
Reply
#5

pawn Код:
CMD:up(playerid,params[])
{
   #pragma unused params
   for(new i=0;i<MAX_PLAYERS;i++)
   {
       //All the updating you have to do.
   }
   return SendClientMessage(playerid,COLOR_WHITE,"All Players Information is Updated.");
}
Reply
#6

Thats why make cmds, so you can IG modify files.
Reply
#7

Quote:
Originally Posted by XePloiT
Посмотреть сообщение
pawn Код:
CMD:up(playerid,params[])
{
   #pragma unused params
   for(new i=0;i<MAX_PLAYERS;i++)
   {
       //All the updating you have to do.
   }
   return SendClientMessage(playerid,COLOR_WHITE,"All Players Information is Updated.");
}
Hello, I understand all this code exept "//All the updating you have to do."
Reply
#8

Well, when a player connects, you load their data there, are you sure that you have to restart?
Reply
#9

Well maybe.. You wanna try connecting 2 my server and testing it?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)