Passing textdraws - 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: Passing textdraws (
/showthread.php?tid=413000)
Passing textdraws -
Mean - 03.02.2013
I'm wondering, if you want to pass a textdraw ID, which placeholder should you use? Integer...?
pawn Код:
stock TextDrawFadeIn(Text:text, time) {
tdtimer = SetTimerEx("m_tdfin", (time / 10), 1, "i", text); // <- i/d is for integer
}
Re: Passing textdraws -
Vince - 03.02.2013
Yes. You may need to use the tag override ( _: ) if the compiler throws warnings.
Re: Passing textdraws -
Mean - 03.02.2013
Quote:
Originally Posted by Vince
Yes. You may need to use the tag override ( _: ) if the compiler throws warnings.
|
Yup, it did give me warnings, used _: and it works perfectly. Thanks!