Skip to content

AddPlayerToScene

Add a player to an existing scene

Argument Data Type Needed Default Description
player player - The player client id (PlayerId)
scene scene - The scene netid
dict string - The anim dict that the ped will play
name string - The anim name that the ped will play
speed number 4.0
speedMultiplier number -8.0
flag number 1

Dont need to be called every frame


Example
AddPlayerToScene(PlayerId(), scene, "somedict", "somename")

Last update: December 16, 2022
Created: October 31, 2022