01B9

From GTAMods Wiki
Revision as of 18:30, 21 July 2011 by Unrated69 (talk | contribs) (Created page with '{{OpCode | ini = 01B9=2,set_actor %1d% armed_weapon_to %2d% | description = Sets an actor's armed weapon. | p1 = Actor variable | p2 = Weapon ID numb…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Sets an actor's armed weapon.
Syntax
{{{syntax1}}}
Parameter

This opcode sets the weapon that the actor is currently holding.

Sanny Builder example

01B9: set_actor 2@ armed_weapon_to 0

Keywords

weapons