11.05.2017, 09:02
(
Последний раз редактировалось Riwerry; 11.05.2017 в 10:09.
)
Okay, tried to make it as you said, but sadly point is being shown far away from where it should be.
pawn Код:
new
Float:scalex = 243.6 / 6000, //243.6 is the width
Float:scaley = 264.0 / 6000, //264 is the height
Float:screenx = MDC_g_sPlayer[playerid][E_MDC_LOOKUP_ACTIVE_ADRESS_POS][0] + 3000, //Real world X + 3000
Float:screeny = MDC_g_sPlayer[playerid][E_MDC_LOOKUP_ACTIVE_ADRESS_POS][1] + 3000 //Real world Y + 3000
;
MDC_g_sPlayer[playerid][E_MDC_TEXTDRAW][33] = CreatePlayerTextDraw(playerid, screenx * scalex, screeny * scaley, "hud:radar_waypoint");