Skip to content

AddPedToScene

Add a ped or create a ped and add it to an existing scene

Argument Data Type Needed Default Description
ped string/ped - The ped or the model
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
AddPedToScene("a_f_m_beach_01", scene, "somedict", "somename")

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