HowTo reload the FS witouth the RCON
#1

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
Reply
#2

I believe it's

SendRconCommand("reloadfs fsnamehere");
Reply
#3

thanks, adjusted
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)