SA-MP Forums Archive
HowTo reload the FS witouth the RCON - 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: HowTo reload the FS witouth the RCON (/showthread.php?tid=163964)



HowTo reload the FS witouth the RCON - Mr.Obscure - 29.07.2010

I'm a new scripter (7 weeks of scripting)
I has compiled that script.

With that, your admin can reload all FS witouth the RCON password
Код:
//--------------------------------[Reload FS]-------------------------------------------------------------------
 if(strcmp(cmd, "/reloadfs", true) == 0)
 {
  if(PlayerInfo[playerid][pAdmin] < 1336)
  {
	SendClientMessage(playerid, COLOR_BLUE, "SOLO LEAD / SCRIPTER / FOUNDER");
  }
  if(PlayerInfo[playerid][pAdmin] >= 1337)
   {
   SendRconCommand("reloadfs FSNAMEHERE")
   SendClientMessage(playerid, COLOR_BLUE, "FS Ricaricate");
   }
   return 1;
 }
License GPL :P
So, I has used for base the "Heaven City RP Game Mode" (admin level 1337 = Leader Admin, 1338 = Founder, 1339 = Scripter)

P.S. I'm Italian


Re: HowTo reload the FS witouth the RCON - ViruZZzZ_ChiLLL - 29.07.2010

I believe it's

SendRconCommand("reloadfs fsnamehere");


Re: HowTo reload the FS witouth the RCON - Mr.Obscure - 29.07.2010

thanks, adjusted