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
 
(One intermediate revision by the same user not shown)
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'''
*'''player:''' parameter input should be in '''Client''' type.
*'''player:''' parameter input should be in '''Player''' type.
*'''slot:''' parameter input should be in '''int''' type.
*'''slot:''' parameter input should be in '''int''' type.


==Usage example(s)==
==Usage example(s)==
Example Description
Example Description
<syntaxhighlight lang="C#" >NAPI.Player.ClearPlayerAccessory(Client player, int slot);</syntaxhighlight>
<syntaxhighlight lang="C#" >NAPI.Player.ClearPlayerAccessory(Player player, int slot);</syntaxhighlight>


[[Category:Serverside API]]
[[Category:Serverside API]]

Latest revision as of 21:45, 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 Player type.
  • slot: parameter input should be in int type.

Usage example(s)

Example Description

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