PedClient

setPedIsAvoidedByOthers

SET_PED_IS_AVOIDED_BY_OTHERS0xA9B61A329BFDCBEA

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

SignatureJavaScript
setPedIsAvoidedByOthers(p0: any, p1: boolean): void
SignatureLua
setPedIsAvoidedByOthers(p0: any, p1: boolean)

Usage

JavaScript
setPedIsAvoidedByOthers(p0, p1);
Lua
setPedIsAvoidedByOthers(p0, p1)

Parameters

ParameterTypeJavaScriptLua
p0Anyanyany
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_IS_AVOIDED_BY_OTHERS(Any p0, BOOL p1)
Hash
0xA9B61A329BFDCBEA

Open in the interactive natives reference