NetworkAddPedToSynchronisedSceneWithIk
DocsNetworkAddPedToSynchronisedSceneWithIk(ped, netSceneID, animDict, animClip, blendIn, blendOut, sceneFlags, ragdollFlags, moverBlendInDelta, ikFlags)Description
Introduced in build 1290
Adds a ped to a networked synchronized scene but extends <code>NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE</code> to support IK flags.
There is barely any difference between this and <code>NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE</code>.
Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | Index of the ped to add to the scene. |
netSceneID | int | Network scene ID returned by [`NETWORK_CREATE_SYNCHRONISED_SCENE`](#\_0x7CD6BC4C2BBDD526). |
animDict | char* | Which anim dictionary to use on this ped. |
animClip | char* | Which clip from the anim dictionary to use on this ped. |
blendIn | float | Blend in speed of the animation. Default is `8.0`. |
blendOut | float | Blend out speed of the animation. Default is `-8.0`. |
sceneFlags | int | Synchronized scene flags. See [`NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE`](#\_0x742A637471BCECD9). |
ragdollFlags | int | Ragdoll blocking flags. Default is 0. |
moverBlendInDelta | float | Determines the rate at which the mover blends in to the scene. Useful for ensuring a seamless entry onto a synchronized scene. Default is `1000.0`. |
ikFlags | int | Inverse kinematics flags. Default is `0`. |
Quick Snippet: Get Ped Handleped
pedUse this to get the player ped handle for this native.
-- Get the player's ped handle (client-side)
local ped = PlayerPedId()
print("Ped handle: " .. ped)
-- For a specific player's ped (server-side):
-- local targetPed = GetPlayerPed(source)Ped Models

mp_m_freemode_01
player_zero
ig_agatha
s_m_y_cop_01
s_m_m_gaffer_01
g_m_m_armboss_01
a_c_boar
a_m_m_bevhills_01Returns
voidThis native does not return a value.