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)
 
(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, int value, int weapon, int ped4, int ammo, int ped6, int model, int ped8
|parameters = int ped, int slot
|parameter1 = int ped Target character in the game world.
|parameter1 = int ped Character handle to act upon.
|parameter2 = int slot Weapon slot identifier.
|parameter2 = int slot Slot index.
|parameter3 = int value Numeric parameter.
|usage = returns the weapon type in a character specific weapon slot
|parameter4 = int weapon Weapon model identifier.
|parameter5 = int ped4 A ped4 value.
|parameter6 = int ammo Quantity of ammunition.
|parameter7 = int ped6 A ped6 value.
|parameter8 = int model Entity model number.
|parameter9 = int ped8 A ped8 value.
|usage = retrieves the current char weapon in slot value.
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}
1,615

edits

Navigation menu