natives.GET_CHAR_WEAPON_IN_SLOT
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.GET_CHAR_WEAPON_IN_SLOT(int ped, int slot, int value, int weapon, int ped4, int ammo, int ped6, int model, int ped8)
The natives.GET_CHAR_WEAPON_IN_SLOT function is used to retrieves the current char weapon in slot value.
Parameters
| 1) | int | ped | Target character in the game world. |
| 2) | int | slot | Weapon slot identifier. |
| 3) | int | value | Numeric parameter. |
| 4) | int | weapon | Weapon model identifier. |
| 5) | int | ped4 | A ped4 value. |
| 6) | int | ammo | Quantity of ammunition. |
| 7) | int | ped6 | A ped6 value. |
| 8) | int | model | Entity model number. |
| 9) | int | ped8 | A ped8 value. |
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.