setPedTargetLossResponse
SET_PED_TARGET_LOSS_RESPONSE0x0703B9079823DA4AThe 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.
setPedTargetLossResponse(ped: Ped, responseType: number): voidsetPedTargetLossResponse(ped: Ped, responseType: integer)Usage
JavaScript
setPedTargetLossResponse(ped, responseType);Lua
setPedTargetLossResponse(ped, responseType)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
responseType | int | number | integer |
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