ClearPlayerAccessory: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
 
Line 5: Line 5:


'''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);