Load filterscript on Gamemode restart
#6

Quote:
Originally Posted by ·!¦[·MaykoX·
¦!· ]
You should also make timer.. otherways it will be useless.
Yes exactly.

Code:
if(strcmp(cmd, "/gmx", true,4) == 0)
{
	
	if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command");
	
	SendRconCommand("gmx");
	SetTimer("reloadfs",5000,0);
	return 1;
}


forward reloadfs();
public reloadfs()
{
	SendRconCommand("reloadfs filterscriptnamehere");
	return 1;
}



Reply


Messages In This Thread
Load filterscript on Gamemode restart - by Galcio - 12.06.2010, 10:19
Re: Load filterscript on Gamemode restart - by Zimon95 - 12.06.2010, 10:22
Re: Load filterscript on Gamemode restart - by TheInnocentOne - 12.06.2010, 10:45
Re: Load filterscript on Gamemode restart - by Galcio - 12.06.2010, 13:43
Re: Load filterscript on Gamemode restart - by DJDhan - 12.06.2010, 13:46
Re: Load filterscript on Gamemode restart - by DJDhan - 12.06.2010, 14:22
Re: Load filterscript on Gamemode restart - by Galcio - 12.06.2010, 14:48
Re: Load filterscript on Gamemode restart - by DJDhan - 12.06.2010, 14:51
Re: Load filterscript on Gamemode restart - by KillermanGR - 10.02.2011, 18:10

Forum Jump:


Users browsing this thread: 7 Guest(s)