Difference between revisions of "04B8"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
<code>04B8=5,%1d% %2h% %3d% %4d% %5d%</code><br> | <code>04B8=5,%1d% %2h% %3d% %4d% %5d%</code><br> | ||
− | '''Description''': Stores the weapons data from an | + | '''Description''': Stores the weapons data from an actor<br> |
'''Parameter 1''': Actor handle<br> | '''Parameter 1''': Actor handle<br> | ||
'''Parameter 2''': [[Weapon]] group<br> | '''Parameter 2''': [[Weapon]] group<br> |
Revision as of 03:34, 15 December 2007
04B8=5,%1d% %2h% %3d% %4d% %5d%
Description: Stores the weapons data from an actor
Parameter 1: Actor handle
Parameter 2: Weapon group
Parameter 3: A variable to store the weapon number
Parameter 4: A variable to store the weapon ammo
Parameter 5: A variable to store the weapon model
Supports: GTA3, 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.
Keywords
store, get, weapon, number, model