Перейти к содержанию

GetPlayerWeaponTint

Материал из RAGE MP Wiki Archive
Версия от 13:29, 27 ноября 2019; imported>Muphy (Created page with "==Syntax== <syntaxhighlight lang="C#" >WeaponTint NAPI.Player.GetPlayerWeaponTint(Client player, WeaponHash weapon);</syntaxhighlight> '''Required Arguments''' *'''player:'''...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Syntax

<syntaxhighlight lang="C#" >WeaponTint NAPI.Player.GetPlayerWeaponTint(Client player, WeaponHash weapon);</syntaxhighlight>

Required Arguments

  • player: parameter input should be in Client type.
  • weapon: parameter input should be in WeaponHash type.

NOTE: This function returns data in WeaponTint type.

Usage example(s)

Example Description <syntaxhighlight lang="C#" >NAPI.Player.GetPlayerWeaponTint(player, weapon);</syntaxhighlight>