textdraw - 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: textdraw (
/showthread.php?tid=604066)
textdraw -
Loinal - 31.03.2016
i finally made half of my gamemode and i made a textdraw i want to make it with time like
when player join it show textdraw for 10 seconds and then hide
Please Help.
Re: textdraw -
Mencent - 31.03.2016
Hi!
You set the textdraw where you want to show it and then you start a timer (SetTimerEx) for 10 seconds. After the timer is expired you can hide the textdraw.
Try this yourself. If you need help you can feel free to ask.
Re: textdraw -
SyS - 31.03.2016
add this on onplayerconnect
Код:
SetTimer("Hidetextdraw", 10000, 0);//10seconds
and this public function in your gm
PHP код:
forward HideTextdraw();
public HideTextDraw(playerid)
{
TextDrawHideForPlayer(playerid, Yourtextdraw1);//name of your textdraws
TextDrawHideForPlayer(playerid, Yourtextdraw2);
}
Re: textdraw -
Loinal - 31.03.2016
not work
Re: textdraw -
LifeRah - 31.03.2016
Quote:
Originally Posted by Sreyas
add this on onplayerconnect
Код:
SetTimer("Hidetextdraw", 10000, 0);//10seconds
and this public function in your gm
PHP код:
forward HideTextdraw();
public HideTextDraw(playerid)
{
TextDrawHideForPlayer(playerid, Yourtextdraw1);//name of your textdraws
TextDrawHideForPlayer(playerid, Yourtextdraw2);
}
|
He's right!