15.06.2012, 09:06
Hey Guys I have come here with another prob....
The prob is The TextDraw Which i created Of Getting players position is giving me wrong coordinates...
The Code:
When I do /lgoto 0 0 0 [my admin system]
it gets me to farm which is center of San andreas... but the Text Draw shows other coordinates anyone knows whats the prob?
The prob is The TextDraw Which i created Of Getting players position is giving me wrong coordinates...
The Code:
Code:
new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,X,Y,Z); new string[245]; format(string,sizeof(string),"X: %d Y: %d Z: %d",X,Y,Z); XYZ = TextDrawCreate(26,300,string); TextDrawFont(XYZ,2); TextDrawLetterSize(XYZ,0.3,1); TextDrawBackgroundColor(XYZ,0x000000FF); TextDrawSetOutline(XYZ,1); TextDrawSetShadow(XYZ,1); TextDrawColor(XYZ,0xFFFFFFFF); TextDrawShowForPlayer(playerid,XYZ);
it gets me to farm which is center of San andreas... but the Text Draw shows other coordinates anyone knows whats the prob?