ped.lookAt

From GTA Connected
Revision as of 11:02, 12 December 2019 by Mex (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |type = method |class = Ped |name = lookAt |games = sa |parameters = Vec3 position, int duration |parameter1 = Vec3 position The new look-at 3D...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

lookAt

Signature: void lookAt(Vec3 position, int duration)

Usage: set the look-at position for a ped

Parameters

Vec3 position The new look-at 3D position.
int duration The duration to interpolate to the new look-at position.

Return

void

On failure: void