SA-MP Forums Archive
OnRconCommand not getting called? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnRconCommand not getting called? (/showthread.php?tid=478375)



OnRconCommand not getting called? - kristo - 29.11.2013

No hard code, just debugging. I tried it from the console and IG but it doesn't get printed in either way.

pawn Код:
public OnRconCommand(cmd[])
{
    printf("asd %s", cmd);
    return 0;
}



Re: OnRconCommand not getting called? - Konstantinos - 29.11.2013

https://sampwiki.blast.hk/wiki/OnRconCommand

Quote:
Important Note: You will need to include this callback in a loaded filterscript for it to work in the gamemode!




Re: OnRconCommand not getting called? - kristo - 29.11.2013

I totally misunderstood that before, thanks for making me re-think about it.