natives.GET CHAR WEAPON IN SLOT: 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.GET_CHAR_WEAPON_IN_SLOT | |name = natives.GET_CHAR_WEAPON_IN_SLOT | ||
|parameters = int ped, int slot | |parameters = int ped, int slot | ||
|parameter1 = int ped | |parameter1 = int ped Character handle to act upon. | ||
|parameter2 = int slot | |parameter2 = int slot Slot index. | ||
|usage = returns the weapon type in a character specific weapon slot | |||
|usage = | |||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Latest revision as of 09:15, 12 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.GET_CHAR_WEAPON_IN_SLOT(int ped, int slot)
The natives.GET_CHAR_WEAPON_IN_SLOT function is used to returns the weapon type in a character specific weapon slot.
Parameters
| 1) | int | ped | Character handle to act upon. |
| 2) | int | slot | Slot index. |
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.