DrawScaleformMovie3dSolid
DocsDrawScaleformMovie3dSolid(scaleform, posX, posY, posZ, rotX, rotY, rotZ, p7, p8, p9, scaleX, scaleY, scaleZ, p13)Parameters
| Name | Type | Description |
|---|---|---|
scaleform | int | — |
posX | float | — |
posY | float | — |
posZ | float | — |
rotX | float | — |
rotY | float | — |
rotZ | float | — |
p7 | float | — |
p8 | float | — |
p9 | float | — |
scaleX | float | — |
scaleY | float | — |
scaleZ | float | — |
p13 | Any | — |
Quick Snippet: Get CoordinatesposXposYposZrotX
posXposYposZrotXAdd this command to your client script to retrieve precise locations in-game.
-- Add this to your client.lua. Type /pos in-game to copy coords.
RegisterCommand('pos', function()
local ped = PlayerPedId()
local coords = GetEntityCoords(ped)
local heading = GetEntityHeading(ped)
local output = string.format("vector4(%.2f, %.2f, %.2f, %.2f)", coords.x, coords.y, coords.z, heading)
print(output)
TriggerEvent('chat:addMessage', { args = { '^4[COORD]^0', output } })
end)Returns
voidThis native does not return a value.