Search the Community
Showing results for tags 'coordinates'.
-
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?
-
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
-
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
-
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?
- 4 replies
-
- dxdrawline
- dxdrawrectangle
-
(and 2 more)
Tagged with:
-
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.
- 2 replies
-
- area
- demarcated
-
(and 2 more)
Tagged with: