Skip to content

setPedFacialTalk

Client-side

Available in Neon, not standard MTA

Requests GTA's native FACTALK expression on a streamed ped's persistent facial controller.

Syntax

bool setPedFacialTalk(ped thePed, int duration)

GTA task mapping

ORIGINAL GTA TASK 0967
CTaskComplexFacial

SCM equivalent: START_CHAR_FACIAL_TALK

This updates the persistent facial controller rather than replacing the ped's primary task. GTA receives TALKING for the requested duration and clears any stale chained expression.

Arguments

thePedped

Living streamed script ped or the local player; remote players are rejected.

durationint

Non-negative expression duration in milliseconds.

Returns

true when the native facial controller accepted the request; false when the ped, controller, or duration is invalid.

Ownership and lifecycle

Low-level ped task calls require the client that simulates the living, streamed ped. Driving tasks also require control of the streamed vehicle. They do not create lifecycle handles; the optional native-task-runtime adds server-owned route epochs and reconstruction for drive_to routes. Gang-tag ownership is resource-exclusive, survives object streaming and recreation, and is released automatically when the owner stops.

OOP aliases

  • ped:setFacialTalk(duration)

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →