017B

From GTAMods Wiki
Revision as of 21:16, 20 July 2011 by Unrated69 (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{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