ATTACH_PED_TO_CAR
Usage
Game.AttachPedToCar(charIndex, carIndex, boneIndex, offsetX, offsetY, offsetZ, defaultHeading, headingLimit, detachWhenDead, detachWhenRagdoll)
Attaches an ped to an car with a non physical attachement.
Parameters
charIndexintegerintcarIndexintegerintboneIndexintegerintoffsetXnumberfloatoffsetYnumberfloatoffsetZnumberfloatdefaultHeadingnumberfloatheadingLimitnumberfloatdetachWhenDeadbooleanbooldetachWhenRagdollbooleanbool
Returns
Nothing
Original declaration
// 0x3EFC1A7D
void ATTACH_PED_TO_CAR(int charIndex, int carIndex, int boneIndex, float offsetX, float offsetY, float offsetZ, float defaultHeading, float headingLimit, bool detachWhenDead, bool detachWhenRagdoll);