TextDrawShowForPlayer - 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: TextDrawShowForPlayer (
/showthread.php?tid=246066)
TextDrawShowForPlayer -
GaGlets(R) - 02.04.2011
I have not tested this one so:
Will it cause problems if I use:
Repeated times without hiding it?
e.g.
pawn Код:
TextDrawShowForPlayer //(textdraw1)
// 5 secs
TextDrawSetString //(textdraw1)
TextDrawShowForPlayer //(textdraw1)
//10 secs
TextDrawSetString //(textdraw1)
TextDrawShowForPlayer //(textdraw1)
Re: TextDrawShowForPlayer -
Vince - 02.04.2011
AFAIK, you don't need to re-show the textdraw when you use TextDrawSetString.
Re: TextDrawShowForPlayer -
GaGlets(R) - 02.04.2011
Alright i did not show right example.
There is a `timer` after each TextDrawShowForPlayer
By the timer i mean a variable which counts down in other timer and if it is `0` TextDraw will hide.
If the `timer` still is conting down, TextDrawShowForPlayer repeats again and variable is set again to its value - will it cause problems?
(the same player and the same textdraw)