Player::setFacialIdleAnimOverride

From RAGE Multiplayer Wiki

WARNING: Works only via a native call! Also, animDict argument should be 0

const SET_FACIAL_IDLE_ANIM_OVERRIDE = '0xFFC24B988B938B38';

const player = mp.players.local;
const mood = 'mood_happy_1'

mp.game.invoke(SET_FACIAL_IDLE_ANIM_OVERRIDE, player.handle, mood, 0);

See more in a real-world example: https://rage.mp/files/file/108-moods/

Syntax

player.setFacialIdleAnimOverride(animName, animDict);

Required Arguments

  • animName: String
  • animDict: String

Return value

  • Undefined

Example

// todo

See also