Need help with text - 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 with text (
/showthread.php?tid=67401)
Need help with text -
Ryhanna - 01.03.2009
Hi there.
How do i place a Text where I want? I don't really unterstand it.
Thx 4 Help
Re: Need help with text -
Marcel - 01.03.2009
TextDrawCreate
Re: Need help with text -
Rks25 - 01.03.2009
You maybe also want to try GameTextForPlayer with ~n~?
Re: Need help with text -
DarkSnow - 01.03.2009
You can use GameText:
pawn Код:
new string[256];
format(string, sizeof(string), "HERE YOUR TEXT");
GameTextForPlayer(playerid, string, TIME(3000 = 3 seconds ;-)), STYLE(1-6));
Or You use a TextDraw:
If you want to use a TextDraw you just search for "TextDraw Editor" and download it and try a little bit
Re: Need help with text -
Rks25 - 01.03.2009
DarkSnow, by gametext you can't make it at a position YOU want. You have to stick on the positions there are available.
Re: Need help with text -
DarkSnow - 01.03.2009
Kay sorry i didnt understand english so good
But you can doo it a little bit down but not where you want okay
Re: Need help with text -
Marcel - 01.03.2009
And you don't need
it's definitly a waste of space, and if you want to show a text you can also use "text here" instead of formatting a string. If you want to use a player's name then you would need to format a string.