Passing textdraws
#1

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
}
Reply
#2

Yes. You may need to use the tag override ( _: ) if the compiler throws warnings.
Reply
#3

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!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)