SA-MP Forums Archive
[SOLVED]help about textdraw hide - 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: [SOLVED]help about textdraw hide (/showthread.php?tid=89710)



[SOLVED]help about textdraw hide - xCoder - 03.08.2009

i've got textdraws. I wanna shows those onplayerconnect and hide after 10 second

plz help. i tried settimer but doesnt worked


Re: help about textdraw hide - Mr_Finnigan - 03.08.2009

Quote:
Originally Posted by xCoder
i've got textdraws. I wanna shows those onplayerconnect and hide after 10 second

plz help. i tried settimer but doesnt worked
Код:
GameTextForPlayer(playerid,"~y~Welcome to the Carnage!!!", 6000, 10);
When using this the 10 at the end is seconds it appears for


Re: help about textdraw hide - xCoder - 03.08.2009

no, i wanna use TextDrawHideForPlayer(playerid, TextDraw); command.


Re: [SOLVED]help about textdraw hide - xCoder - 03.08.2009

Solved


Re: [SOLVED]help about textdraw hide - Mr_Finnigan - 03.08.2009

Quote:
Originally Posted by xCoder
Solved
Great that you got it solved,sorry my idea did not help but i tried.

One suggestion,if someone else has same problem they may use search(ive seen stranger things happen,lol) It would be nice if you could give a brief description on how you solved it, incase the thread may assist someone else.


Re: [SOLVED]help about textdraw hide - xCoder - 03.08.2009

no prob. man. how i solved?. with that code:
Код:
public OnPlayerConnect(playerid)
{
  SetTimerEx("baslangic", 5000, false, "i", playerid);
  return 1;
}

forward baslangic(playerid);
public baslangic(playerid)
{
  TextDrawHideForPlayer(playerid,yourtextdraw);
}