SA-MP Forums Archive
No Rcon - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: No Rcon (/showthread.php?tid=67634)



No Rcon - StrickenKid - 02.03.2009

Will This Prevent Rcon From Being Used?
pawn Код:
public OnRconCommand(cmd[])
{
    return 0;

}
and if it does, i want to add
pawn Код:
printf("%s tried using rcon",pName); // so i can see if anyone trys.
thanks.


Re: No Rcon - Zoopaman - 02.03.2009

Don't think so but not really sure. Probably not.


Re: No Rcon - Mikep - 02.03.2009

This is used for the console only.


Re: No Rcon - Nubotron - 02.03.2009

Quote:
Originally Posted by Mikep
This is used for the console only.
No, /rcon commands as well. But this callback isn't called by native commands such as /rcon login, only scripted ones.