SetPlayerAccessory

From GTA Network Wiki
Jump to: navigation, search

SetPlayerAccessory
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Sets a player's accessory prop. For more information and lists of props to use on freemode characters, see Character Components.

Syntax

void NAPI.Player.SetPlayerAccessory(Client player, int slot, int drawable, int texture);

Required Arguments

  • player: parameter input should be in Client type.
  • slot: parameter input should be in int type.
  • drawable: parameter input should be in int type.
  • texture: parameter input should be in int type.

Usage example(s)

Example Description

NAPI.Player.SetPlayerAccessory(player, slot, drawable, texture);

Changelog

Version Description
1.0 Release.

References