Skip to content

Instantly share code, notes, and snippets.

@TheiLLeniumStudios
TheiLLeniumStudios / screen2dToWorld3d.lua
Created August 4, 2022 18:42 — forked from samuelds/screen2dToWorld3d.lua
screen2dToWorld3d for Fivem !
--
-- Original : https://rage.mp/forums/topic/1916-code-snippets/
--
--
--
--
function screen2dToWorld3d(absoluteX, absoluteY) {
var camPos = GetGameplayCamCoords()
var rX, rY = processCoordinates(absoluteX, absoluteY)