SA-MP Forums Archive
Update player information without restarting server? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Update player information without restarting server? (/showthread.php?tid=197733)



Update player information without restarting server? - redhit - 10.12.2010

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


Re: Update player information without restarting server? - Retardedwolf - 10.12.2010

Use a ingame command or script it?


Re: Update player information without restarting server? - redhit - 10.12.2010

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


Re: Update player information without restarting server? - redhit - 10.12.2010

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


Re: Update player information without restarting server? - XePloiT - 10.12.2010

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.");
}



Re: Update player information without restarting server? - Voldemort - 10.12.2010

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


Re: Update player information without restarting server? - redhit - 10.12.2010

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."


Re: Update player information without restarting server? - The_Moddler - 10.12.2010

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


Re: Update player information without restarting server? - redhit - 10.12.2010

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