08.09.2017, 17:28
It is not possible... But YSF's fork by kurta999 has a function for this:
So the command will be like:
[/php]
Код:
native LoadFilterScript(const scriptname[]); // difference between "rcon loadfs": Return -> True if success, false if not
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;
}