setPedFacialTalk
Requests GTA's native FACTALK expression on a streamed ped's persistent facial controller.
Syntax
bool setPedFacialTalk(ped thePed, int duration)GTA task mapping
0967 CTaskComplexFacialSCM 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
thePedpedLiving streamed script ped or the local player; remote players are rejected.
durationintNon-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
Continue exploring
← Back to the Neon Lua API · How Native ped tasks and gang tags works →