10.06.2011, 15:02
Can someone please help me get the France between te displayed checkpoint and put on a textdraw
new Float:cx, Float:cy, Float:x, Float:y, Float:rst, Float:px, Float:py, Float:pz;
cx = 1.00; cy = 152.31;
GetPlayerPos(playerid, px, py, pz);
cx = floatabs(cx);
cy = floatabs(cy);
px = floatabs(px);
py = floatabs(py);
x = cx - px; y = cy - py;
x = floatabs(x);
y = floatabs(y);
rst = floatsqroot((x*x) + (y*y));