ClearPlayerAccessory: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This function let's you clear the player accessories. ==Syntax== <syntaxhighlight lang="C#" >void NAPI.Player.ClearPlayerAccessory(Client player, int slot);</syntaxhighlight>...")
 
No edit summary
Line 2: Line 2:


==Syntax==
==Syntax==
<syntaxhighlight lang="C#" >void NAPI.Player.ClearPlayerAccessory(Client player, int slot);</syntaxhighlight>
<syntaxhighlight lang="C#" >void NAPI.Player.ClearPlayerAccessory(Player player, int slot);</syntaxhighlight>


'''Required Arguments'''
'''Required Arguments'''

Revision as of 19:43, 22 December 2022

This function let's you clear the player accessories.

Syntax

void NAPI.Player.ClearPlayerAccessory(Player player, int slot);

Required Arguments

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

Usage example(s)

Example Description

NAPI.Player.ClearPlayerAccessory(Client player, int slot);