PedClient

setPedTargetLossResponse

SET_PED_TARGET_LOSS_RESPONSE0x0703B9079823DA4A

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

SignatureJavaScript
setPedTargetLossResponse(ped: Ped, responseType: number): void
SignatureLua
setPedTargetLossResponse(ped: Ped, responseType: integer)

Usage

JavaScript
setPedTargetLossResponse(ped, responseType);
Lua
setPedTargetLossResponse(ped, responseType)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
responseTypeintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_TARGET_LOSS_RESPONSE(Ped ped, int responseType)
Hash
0x0703B9079823DA4A

Open in the interactive natives reference