Triggering zcmd commands through filterscript
#2

It might be possible, try this thing:
pawn Код:
//In your gamemode
forward CallCommand(playerid, params[]);
public CallCommand(playerid, params[])
{
    cmd_command(playerid, params);
    return 1;
}
 
// In your filterscript
CallRemoteFunction("CallCommand", "is", <some player id>, <some parameters string>);
I used this function: https://sampwiki.blast.hk/wiki/CallRemoteFunction
Reply


Messages In This Thread
Triggering zcmd commands through filterscript - by arad55 - 17.02.2015, 15:53
Re: Triggering zcmd commands through filterscript - by HazardouS - 17.02.2015, 16:01
Re: Triggering zcmd commands through filterscript - by $$inSane - 17.02.2015, 16:01
Re: Triggering zcmd commands through filterscript - by arad55 - 17.02.2015, 21:55

Forum Jump:


Users browsing this thread: 1 Guest(s)