SetPlayerCurrentWeaponAmmo

From RAGE Multiplayer Wiki

Sets the weapon ammo of the current weapon of the player (on the hand).


C# Syntax

void NAPI.Player.SetPlayerCurrentWeaponAmmo(Player player, int ammo);

Parameters

  • player: Parameter input should be in Player type.
  • ammo: Parameter input should be in int type.

Example

NAPI.Player.SetPlayerCurrentWeaponAmmo(player, 9999);