# Set Portrait Model And Play Animation

Grammar — Set Portrait model to Model (wait until loaded) and play animation Anim using flags|Options
FlagsNative | Action

Sets the model for a portrait and plays an animation on it.

# Arguments

  • int<portrait> — Portrait
  • string<gamelink::Model> — Model
  • string<modelanim> — Animation
  • int<preset::AnimationFlag> — Flags
  • bool<preset::Trigger_Wait_Option> — Wait For Load

Returns — void

native void PortraitSetModelAnim(
	int p,
	string modelLink,
	string anim,
	int flags,
	bool waitUntilLoaded,
);

Category: Portrait / Advanced

# Examples

— None found —