# Search the Community

Showing results for tags 'coordinates'.

• ### Search By Tags

Type tags separated by commas.

### Forums

• Multi Theft Auto: San Andreas 1.x
• Support for MTA:SA 1.x
• User Guides
• Open Source Contributors
• Suggestions
• Ban appeals
• General MTA
• News
• Media
• Site/Forum/Discord/Mantis/Wiki related
• MTA Chat
• Other languages
• MTA Community
• Scripting
• Maps
• Resources
• Other Creations & GTA modding
• Competitive gameplay
• Servers
• Other
• General
• Multi Theft Auto 0.5r2
• Third party GTA mods
• Archive
• Archived Items
• Trash

• 0 Replies

• 0 Views

Found 5 results

1. ## Getting the coordinates of the collisions we are looking at?

Is there a way to check for collisions where the player is looking without aiming the gun as if the getWorldFromScreenPosition and GetPedTargetCollision functions were combined?
2. ## how to calculate HUD coordinates

I want to draw image on the blue region of the image posted below. How can I find its coordinates? I want to now Screen X and Screen Y
3. ## question [EN/BR] How to calculate coordinates in front of an element

ENGLISH Let's say I have a player and I want to spawn a car in front of it with a specific distance away from the player. It must considers the player's rotation. It involves some math calculations, but I can't formulate it. BRASIL Vamos supor que eu tenha um player e eu queira spawnar um carro na frente dele com uma distância específica. Para fazer isso, deve levar em consideração a rotação atual do player. Eu sei que isso envolve cálculos matemáticos, mas não consegui formulá-los. Thanks all
4. ## How to find out screen coordinates?

Hi! I want to learn using dxDraws properly, but i don't know where can i check screen coordinates, and i want to draw a straight line, and place a box in the center, and i'm trying my best and it is like this: Coding: local x,y = guiGetScreenSize() function drawStuff() local bg = dxDrawRectangle ( 500, 250, 500, 500, tocolor ( 0, 0, 0, 155 ) ) local line1 = dxDrawLine ( 600, 500, 300, 250, tocolor(0,0,0,255)) end addEventHandler("onClientRender", root, drawStuff) addCommandHandler ("asdasd", drawStuff) Can you help me? Please?
5. ## Demarcated an area

Hi! How can I demarcated an area with coordinates? Not a sphere, or a rectangle, but also like this area? So if the player is in this area, he can do something.
×

• #### Social Media

×
• Create New...