Difference between revisions of "0541"

From GTAMods Wiki
Jump to navigation Jump to search
(created article)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0541=1,%1d%
+
| games      = {{Icon|VC}} {{Icon|SA}}
 +
| command    = FIRE_HUNTER_GUN
 
| description = Fires a vehicle-mounted gun
 
| description = Fires a vehicle-mounted gun
| p1          = Existing vehicle handle
+
| syntax1    = 0541: fire_guns_on_vehicle [''car handle'']
| game        = [[Vice City]]
+
| p1t        = [''car handle'']
 +
| p1d        = The handle of the vehicle
 
}}
 
}}
This opcode is normally used to fire the guns on the Hunter and Sea Sparrow but the opcode can be used on any vehicles. All vehicles have a vehicle-mounted gun but the gun is situated too low for any practical use on land vehicles. It is much more useful on airborne vehicles. The gun can do damage and can alert the police.
 
  
==Keywords==
+
This opcode is normally used to fire the guns on the Hunter and Sea Sparrow but the opcode can be used on any vehicles. All vehicles have a vehicle-mounted gun but the gun is situated too low for any practical use on land vehicles. It is much more useful on airborne vehicles. The gun can do damage and can alert the police. The opcode doesn't control vehicle-mounted rockets.
 +
 
 +
Using the opcode once will fire one bullet. It has to be in a loop in order to fire constantly. In Vice City, if used on vehicles other than the Hunter or Sea Sparrow, the bullet will only travel parallel to the horizon. It will not autoaim or tilt with your vehicle. In San Andreas, it will fire like a Hunter but the firing sound will not go away until the vehicle is gone.
 +
 
 +
== Keywords ==
 
fire, shoot, vehicle, gun
 
fire, shoot, vehicle, gun

Latest revision as of 01:51, 25 November 2016

Vice City San Andreas FIRE_HUNTER_GUN


Description
Fires a vehicle-mounted gun
Syntax
0541: fire_guns_on_vehicle [car handle]
Parameter
[car handle]
The handle of the vehicle

This opcode is normally used to fire the guns on the Hunter and Sea Sparrow but the opcode can be used on any vehicles. All vehicles have a vehicle-mounted gun but the gun is situated too low for any practical use on land vehicles. It is much more useful on airborne vehicles. The gun can do damage and can alert the police. The opcode doesn't control vehicle-mounted rockets.

Using the opcode once will fire one bullet. It has to be in a loop in order to fire constantly. In Vice City, if used on vehicles other than the Hunter or Sea Sparrow, the bullet will only travel parallel to the horizon. It will not autoaim or tilt with your vehicle. In San Andreas, it will fire like a Hunter but the firing sound will not go away until the vehicle is gone.

Keywords

fire, shoot, vehicle, gun