map on textdraw
#1

how can i calculate my pos on textdraw, i need example
Reply
#2

Can you be more specific...
Reply
#3

Reply
#4

https://sampforum.blast.hk/showthread.php?tid=645016

take a look on this. He gets the max points of the textdraw. The corners

Hope that this will help you
Reply
#5

PHP код:
    GetPlayerPos(playerid,x,y,z);
    
PX 478.969635//X Pos of textdraw
    
PY 267.050018//Y Pos of textdraw
    
MX 152.269424//X Map textdraw size
    
MY 170.333404//Y Map textdraw size
    
TDX PX MX * (3000.0) / 6000.0;
    
TDY PY MY * (3000.0 y) / 6000.0;
    
MAP[playerid][0] = CreatePlayerTextDraw(playerid,TDXTDY"hud:radar_light"); 


coords is not corectly
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)