SA-MP Forums Archive
Putting gametextforplayer in the middle of the screen? - 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: Putting gametextforplayer in the middle of the screen? (/showthread.php?tid=89400)



Putting gametextforplayer in the middle of the screen? - Devine - 01.08.2009

How can I make it so when someone goes up to my pickup it will say "San Fierro Police Department" and then under that it'll say "Type /enter to enter this building" how would I do that? I know how to make it at the bottom right but.. how do I put it in the middle?


Re: Putting gametextforplayer in the middle of the screen? - paytas - 01.08.2009

Use another style and some newline characters (~n~), or use a textdraw.


Re: Putting gametextforplayer in the middle of the screen? - .::: Ecko :::. - 01.08.2009

GameTextForPlayer(playerid,~r~San Fierro Police Department ~n~~b~Type /enter to enter this building,100,0);

Ecko


Re: Putting gametextforplayer in the middle of the screen? - Devine - 01.08.2009

Quote:
Originally Posted by .::: [E
Ecko :::. ]
GameTextForPlayer(playerid,~r~San Fierro Police Department ~n~~b~Type /enter to enter this building,100,0);

Ecko
Thanks a lot.