CallLocalFunction - not working - 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: CallLocalFunction - not working (
/showthread.php?tid=126256)
CallLocalFunction - not working -
Misiur - 07.02.2010
Hi there, why it isn't working?
Код:
else
{
format(str, sizeof(str), "cmd:%s", KomendyV[helpcommand][Funkcja]);
SendClientMessage(playerid, RED, str);
if(funcidx(str) != -1)
{
return CallLocalFunction(str, "ds", playerid, "\1");
}
}
SendClientMessage(playerid, RED, str) show good name of function ("cmd:admins"). Even when i delete if, it doesn't work. Why?