Difference between revisions of "017B"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 017b=3,set_actor %1d% weapon %2d% ammo_to %3d% | description = Sets an actor's weapon ammo. | p1 = Actor variable | p2 = Weapon ID n…')
(No difference)

Revision as of 21:16, 20 July 2011

{{{games}}}


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

This opcode sets an actors ammo for the specified weapon.

Sanny Builder example

017B: set_actor $PLAYER_ACTOR weapon 22 ammo_to 10

Keywords

weapons