Help In Getting the Coordinates
#11

Quote:
Originally Posted by Littlehelper[MDZ]
View Post
pawn Code:
// Under OnGameModeInIt
    XYZ = TextDrawCreate(26,300,"   ");
    TextDrawFont(XYZ,2);
    TextDrawLetterSize(XYZ,0.3,1);
    TextDrawBackgroundColor(XYZ,0x000000FF);
    TextDrawSetOutline(XYZ,1);
    TextDrawSetShadow(XYZ,1);
    TextDrawColor(XYZ,0xFFFFFFFF);
    TextDrawShowForPlayer(playerid,XYZ);
// Under OnPlayerUpdate Or Wherever You Are Using This.
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid,X,Y,Z);
    new string[245];
    format(string,sizeof(string),"X: %f Y: %f Z: %f",X,Y,Z);
    TextDrawSetString(XYZ,string);
    TextDrawShowForPlayer(playerid,XYZ);
EDIT: Fixed.
NOPE!
Reply


Messages In This Thread
Help In Getting the Coordinates - by Torus - 15.06.2012, 09:06
Re: Help In Getting the Coordinates - by tiernantheman - 15.06.2012, 09:09
Re: Help In Getting the Coordinates - by [NWA]Hannes - 15.06.2012, 09:11
Re: Help In Getting the Coordinates - by Torus - 15.06.2012, 09:12
Re: Help In Getting the Coordinates - by Torus - 15.06.2012, 09:15
Re: Help In Getting the Coordinates - by tiernantheman - 15.06.2012, 09:15
Re: Help In Getting the Coordinates - by [NWA]Hannes - 15.06.2012, 09:15
Re: Help In Getting the Coordinates - by Torus - 15.06.2012, 09:17
Re: Help In Getting the Coordinates - by Littlehelper - 15.06.2012, 09:21
Re: Help In Getting the Coordinates - by JaKe Elite - 15.06.2012, 09:23
Re: Help In Getting the Coordinates - by Torus - 15.06.2012, 09:30
Re: Help In Getting the Coordinates - by Littlehelper - 15.06.2012, 09:40

Forum Jump:


Users browsing this thread: 1 Guest(s)