Loop & Callback. - 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: Loop & Callback. (
/showthread.php?tid=123578)
Loop & Callback. -
Logitech334 - 26.01.2010
Hello, I have a lot of callback:
Bus1 ()
Bus2 ()
Bus3 ()
and so on.
I want to call out (use) them in the loop so that the latter figure is changed .. You know what I mean. new a = 0 and <quantity; a++...
And now for something on a bus% d (), or something like that.
Pls help
Re: Loop & Callback. -
¤Adas¤ - 26.01.2010
Do you mean this?
pawn Код:
new call[10];
format(call, sizeof(call), "Bus%i", number);
CallLocalFunction(call, "");
Or something like that...
Re: Loop & Callback. -
Logitech334 - 26.01.2010
Very thanks for you!