Disable Textdraw 10 seconds after spawn for player. How to do that? Please.. - 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: Disable Textdraw 10 seconds after spawn for player. How to do that? Please.. (
/showthread.php?tid=86503)
Disable Textdraw 10 seconds after spawn for player. How to do that? Please.. -
RyDeR` - 14.07.2009
I think the subject sais everything.
This is the Textdraw
Код:
Textdraw3 = TextDrawCreate(431.000000,348.000000,"Created By");
Textdraw4 = TextDrawCreate(450.000000,381.000000,"[WsR]RyDeR");
TextDrawAlignment(Textdraw3,0);
TextDrawAlignment(Textdraw4,0);
TextDrawBackgroundColor(Textdraw3,0x000000ff);
TextDrawBackgroundColor(Textdraw4,0x000000ff);
TextDrawFont(Textdraw3,1);
TextDrawLetterSize(Textdraw3,0.799999,1.400000);
TextDrawFont(Textdraw4,3);
TextDrawLetterSize(Textdraw4,0.499999,1.100000);
TextDrawColor(Textdraw3,0xffffffff);
TextDrawColor(Textdraw4,0xffffffff);
TextDrawSetProportional(Textdraw3,1);
TextDrawSetProportional(Textdraw4,1);
TextDrawSetShadow(Textdraw3,2);
TextDrawSetShadow(Textdraw4,2);
Re: Disable Textdraw 10 seconds after spawn for player. How to do that? Please.. -
Correlli - 14.07.2009
Use TextDrawHideForPlayer with a SetTimer/Ex at OnPlayerSpawn.
Re: Disable Textdraw 10 seconds after spawn for player. How to do that? Please.. -
RyDeR` - 14.07.2009
Quote:
Originally Posted by Don Correlli
Use TextDrawHideForPlayer with a SetTimer/Ex at OnPlayerSpawn.
|
What's the difference between SetTimer and SetTimerEx?
Re: Disable Textdraw 10 seconds after spawn for player. How to do that? Please.. -
Correlli - 14.07.2009
https://sampwiki.blast.hk/wiki/SetTimer
https://sampwiki.blast.hk/wiki/SetTimerEx
You should use SetTimerEx for your case.
Re: Disable Textdraw 10 seconds after spawn for player. How to do that? Please.. -
Donny_k - 14.07.2009
Quote:
Originally Posted by [WsR
RyDeR ]
Quote:
Originally Posted by Don Correlli
Use TextDrawHideForPlayer with a SetTimer/Ex at OnPlayerSpawn.
|
What's the difference between SetTimer and SetTimerEx?
|
One uses parameters and the other doesn't.