CallLocalFunction to call a cmd - 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: CallLocalFunction to call a cmd (
/showthread.php?tid=332949)
CallLocalFunction to call a cmd -
Face9000 - 09.04.2012
Hello,i've a dialog that need to call a command created before.
I use ZCMD and the command that need to be called is /rob,so i made this:
pawn Код:
CallLocalFunction( "rob", "d", playerid);
But dont work,that's wrong?
Re: CallLocalFunction to call a cmd -
Abravanel - 09.04.2012
replace
pawn Код:
CallLocalFunction( "rob", "d", playerid);
to
Re: CallLocalFunction to call a cmd -
DRIFT_HUNTER - 09.04.2012
pawn Код:
CallLocalFunction( "cmd_rob", "ds", playerid, "");