SendRconCommand
#2

It is not possible... But YSF's fork by kurta999 has a function for this:
Код:
native LoadFilterScript(const scriptname[]); // difference between "rcon loadfs": Return -> True if success, false if not
So the command will be like:
PHP код:
CMD:loadfs(playerid,params[])
{
  if(
params[0] == '\0')  return SendClientMessage(playerid,-1,"This command needs an argument");
  
SendClientMessage(playerid,-1, (LoadFilterScript(params) ? ( "Filterscript loaded" ) : ("Filterscript load failed"));
  return 
1;

[/php]
Reply


Messages In This Thread
SendRconCommand - by Develerux - 08.09.2017, 17:12
Re: SendRconCommand - by 10MIN - 08.09.2017, 17:28
Re: SendRconCommand - by Spmn - 08.09.2017, 17:35

Forum Jump:


Users browsing this thread: 1 Guest(s)