PedClient

setPedCanUseAutoConversationLookat

SET_PED_CAN_USE_AUTO_CONVERSATION_LOOKAT0xEC4686EC06434678

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_CAN_USE_AUTO_CONVERSATION_LOOKAT(Ped ped, BOOL toggle)
Hash
0xEC4686EC06434678

Open in the interactive natives reference