PedClient

setPedPlaysHeadOnHornAnimWhenDiesInVehicle

SET_PED_PLAYS_HEAD_ON_HORN_ANIM_WHEN_DIES_IN_VEHICLE0x94D94BF1A75AED3D

The GTA V native SET_PED_PLAYS_HEAD_ON_HORN_ANIM_WHEN_DIES_IN_VEHICLE of the PED namespace, as LS:MP client scripts call it: the global function setPedPlaysHeadOnHornAnimWhenDiesInVehicle, in JavaScript and in Lua.

SignatureJavaScript
setPedPlaysHeadOnHornAnimWhenDiesInVehicle(ped: Ped, toggle: boolean): void
SignatureLua
setPedPlaysHeadOnHornAnimWhenDiesInVehicle(ped: Ped, toggle: boolean)

Usage

JavaScript
setPedPlaysHeadOnHornAnimWhenDiesInVehicle(ped, toggle);
Lua
setPedPlaysHeadOnHornAnimWhenDiesInVehicle(ped, toggle)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This native does absolutely nothing, just a nullsub

Reference

Namespace
Ped PED
In the game
void SET_PED_PLAYS_HEAD_ON_HORN_ANIM_WHEN_DIES_IN_VEHICLE(Ped ped, BOOL toggle)
Hash
0x94D94BF1A75AED3D

Open in the interactive natives reference