CreateScene
Create a networked scene
Argument | Data Type | Needed | Default | Description |
---|---|---|---|---|
coords | vector3 | - | ||
rot | vector3 | - | ||
holdLastFrame | boolean | false | ||
looped | boolean | false | ||
animSpeed | number | 1.3 |
Returns
Data Type | Description |
---|---|
scene | The scene netid |
Dont need to be called every frame
Example
local player = PlayerPedId()
local coords = GetEntityCoords(player)
local rot = GetEntityRotation(player)
local scene = CreateScene(coords, rot)
Last update: December 16, 2022
Created: October 31, 2022
Created: October 31, 2022