0114

From GTAMods Wiki
Revision as of 21:12, 20 July 2011 by Unrated69 (talk | contribs) (Created page with '{{OpCode | ini = 0114=3,set_actor %1d% weapon %2h% ammo_to %3d% while_in_car | description = Sets an actor's ammo while in a vehicle. | p1 = Actor variable | …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Sets an actor's ammo while in a vehicle.
Syntax
{{{syntax1}}}
Parameter

This opcode sets an actors ammo for the specified weapon while in a vehicle

Sanny Builder example

0114: set_actor $PLAYER_ACTOR weapon 38 ammo_to 200000 while_in_car

Keywords

weapons, vehicles