SA-MP Forums Archive
OnRconCommand - 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 (/showthread.php?tid=604349)



OnRconCommand - ScIrUsna - 03.04.2016

Hi,

OnRconCommand,

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

I don't use filterscripts i need to create it just for this callback get work it's possible get around this?

And too i found:

Код:
/**
 * Copyright © 2012-2013 - Dan
 * All rights reserved.
 */

#define FILTERSCRIPT

#include <a_samp>

public OnFilterScriptInit() {
	return 1;
}

public OnFilterScriptExit() {
	return 1;
}

public OnRconCommand(cmd[]) {
	// BUGFIX.
	return 0;
}
It's called samp-anticheat it's usefull or it's no need to do this?


Respuesta: OnRconCommand - DragonZafiro - 03.04.2016

just add it the your GM lol