Location 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: Location Text (
/showthread.php?tid=66949)
Location Text -
StrickenKid - 25.02.2009
How would i display the location of where the player is on thye bottom right corner of the screen? other servers have it but not mine so i figured its something you have to script in. Thx in advance!
Re: Location Text -
JaYmE - 25.02.2009
first read up about text draws here :
https://sampwiki.blast.hk/wiki/TextDrawCreate
and then all you have to do is get eachs players health and show it on the text draw
with format and TextDrawSetString
Good luck
Re: Location Text -
Nero_3D - 25.02.2009
under OnGameModeInit
EnableZoneNames(true);
Re: Location Text -
JaYmE - 25.02.2009
lol, i thought he ment the X, Y, Z Postions :P
Sorry
Re: Location Text -
StrickenKid - 25.02.2009
lol its k, and EnableZoneNames(true); works great, only one thing, can i change the font?
Re: Location Text -
Nero_3D - 25.02.2009
no