natives.ADD AMMO TO CHAR: Difference between revisions
Jump to navigation
Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile) |
(Add ScriptItem documentation from GTA VC SCM decompile) |
||
| Line 4: | Line 4: | ||
|type = function | |type = function | ||
|name = natives.ADD_AMMO_TO_CHAR | |name = natives.ADD_AMMO_TO_CHAR | ||
|parameters = int | |parameters = int char, int weapon | ||
|parameter1 = int | |parameter1 = int char Character handle. | ||
|parameter2 = int | |parameter2 = int weapon Weapon type. | ||
|usage = add ammo to char in Vice City | |usage = add ammo to char in Vice City | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Revision as of 17:15, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.ADD_AMMO_TO_CHAR(int char, int weapon)
The natives.ADD_AMMO_TO_CHAR function is used to add ammo to char in Vice City.
Parameters
| 1) | int | char | Character handle. |
| 2) | int | weapon | Weapon type. |
Return
| void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.