Difference between revisions of "04B8"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | ini = 04B8=5,%1d% %2h% %3d% %4d% %5d% | |
− | + | | description = Stores the [[weapon]]s data from an actor | |
− | + | | p1 = Actor handle | |
− | + | | p2 = Weapon group | |
− | + | | p3 = A variable to store the weapon number | |
− | + | | p4 = A variable to store the weapon ammo | |
− | + | | p5 = A variable to store the weapon model | |
− | + | | game = [[Vice City]], [[San Andreas]] | |
+ | }} | ||
This stores the weapon number, ammo, and model of the weapon in the weapon group of an actor. If there is no weapon for that weapon group, the weapon number returns 0 and the model returns -1. | This stores the weapon number, ammo, and model of the weapon in the weapon group of an actor. If there is no weapon for that weapon group, the weapon number returns 0 and the model returns -1. | ||
==Keywords== | ==Keywords== | ||
store, get, weapon, number, model | store, get, weapon, number, model | ||
− | |||
− |
Revision as of 21:00, 17 August 2009
{{{games}}}
- Description
- Stores the weapons data from an actor
- Syntax
- {{{syntax1}}}
- Parameter
This stores the weapon number, ammo, and model of the weapon in the weapon group of an actor. If there is no weapon for that weapon group, the weapon number returns 0 and the model returns -1.
Keywords
store, get, weapon, number, model