SA-MP Forums Archive
How to pass a 3D text id to a timer? - 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: How to pass a 3D text id to a timer? (/showthread.php?tid=102012)



How to pass a 3D text id to a timer? - KKashimia - 13.10.2009

I know how to use SetTimerEx, but what placeholder do I use in the string? with "i" (integer) I get an error. Thanks!!!!111!11


Re: How to pass a 3D text id to a timer? - bogeymanEST - 13.10.2009

I've had that problem, too. I found out that this works:
pawn Код:
SetTimerEx("myfunction", 1000, 0, "i", _:my3Dtext);
This removes the Text3D tag, and removes the warning.


Re: How to pass a 3D text id to a timer? - KKashimia - 13.10.2009

Thanks, It works.