Feature #1248

Implement GetPlayerWeaponAmmo lua function to fetch weapon ammo count

Added by ryven 6 months ago. Updated 6 months ago.

Status:New% Done:

0%

Priority:LowSpent time:-
Assignee:-
Category:Lua API
Target version:2.78
OS: Arch:

Description

Add GetPlayerWeaponAmmo(clientNum, WeapId) lua function implementation, which returns ammo, ammoclip. You can then manipulate ammo amount using AddWeaponToPlayer.

History

#1 Updated by ryven 6 months ago

  • Tracker changed from Bug to Feature

Also available in: Atom PDF