Need Help - 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: Need Help (
/showthread.php?tid=234908)
Need Help -
Ironboy - 04.03.2011
Hello!
I made a settimer.In which it will show a message in a fixed time.
Look at this script below..
pawn Код:
SetTimer("Red",1000,true);
pawn Код:
forward Red();
public Red()
{
new playerid;
SendClientMessage(playerid,RED,"One second has passed");
}
I want to set that message to a textdraw.Is it possible? If yes ,then how?
Re: Need Help -
Stigg - 04.03.2011
I think this could help you:
https://sampwiki.blast.hk/wiki/SetTimerEx
Re: Need Help -
dinalex97 - 04.03.2011
You must create the TextDraw
at the begin of the script
So at OnGameModeInIt you have to create:
Код:
TextDraw = TextDrawCreate(x,y,"text");
SetTimer("Red",1000,true);
and down
Код:
forward Red();
public Red()
{
TextDrawShowForAll(TextDraw);
}
if you want to make the textdraw to dissapear write
Код:
HideTextDrawForAll(TextDraw);
Re: Need Help -
Stigg - 04.03.2011
Sozz. Read it wrong.
Re: Need Help -
Ironboy - 04.03.2011
so which one i should do?
Re: Need Help -
Ironboy - 04.03.2011
show me an example please
Re: Need Help -
Marricio - 04.03.2011
https://sampwiki.blast.hk/wiki/TextDrawCreate
Re: Need Help -
Mean - 04.03.2011
Read the
wise wikipedia.
Re: Need Help -
Ironboy - 05.03.2011
i know how to make a textdraw
Re: Need Help -
Antonio [G-RP] - 05.03.2011
Quote:
Originally Posted by Ironboy
i know how to make a textdraw
|
Then what is the purpose of this thread, Mr. KnowItAll?