SetPlayerLipMovement

From Onset Developer Wiki
Revision as of 18:46, 30 August 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetPlayerLipMovement

Type: Function
Context: Client
Introduced: v1.0.3

Description

Makes the lips of a player look like they are talking for a second. To be used in OnPlayerTalking.

Syntax

SetPlayerLipMovement(player)

Parameters

  • player
    The player identifier.

Return Value

  • Returns true on success.

Example

AddEvent("OnPlayerTalking", function(player)
	--AddPlayerChat("TALKING: "..player)
	SetPlayerLipMovement(player)
end)

See also