Difference between revisions of "0325"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 0325=2,%2d% %1d% | description = Creates a fire on the vehicle | p1 = Existing vehicle handle | p2 = Fire handle | game = GTA3, Vice City,...)
 
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''START_CAR_FIRE'''
| ini        = 0325=2,%2d% %1d%
+
<hr />
| description = Creates a fire on the vehicle
+
'''Description'''
| p1          = Existing vehicle handle
+
: Creates a fire on the vehicle
| p2          = Fire handle
+
'''Syntax'''
| game        = GTA3, Vice City, San Andreas
+
: 0325: [''var''] = create_car [''car handle''] fire
| native      = [[START_CAR_FIRE]]
+
'''Parameter'''
}}
+
: [''var'']
This creates a fire on the vehicle. The fire is completely harmless and can be extinguished with the Firetruck's hose or a Fire Extinguisher. Note that the parameters are swapped.
+
:: Variable to store the handle of the fire
[[Sanny Builder]] example:<source lang="scm">0325: 1@ = create_car 0@ fire</source>
+
: [''car handle'']
 +
:: The handle of the vehicle
 +
'''Native analog'''
 +
: [[START_CAR_FIRE]]
  
==Keywords==
+
This creates a perpetual fire on the vehicle. The fire does not damage the vehicle and is mostly harmless to bystanders. It can be extinguished with the Firetruck's hose or a Fire Extinguisher, or removed using opcode [[02D1]]. While the vehicle is on fire, it does not take any damage from environmental fire.
create, fire, vehicle, car
+
 
 +
== Keywords ==
 +
create, start, fire, vehicle, car
 +
 
 +
== See also ==
 +
* [[0326]], creates a fire on the character
 +
 
 +
[[Category:OpCodes]]

Revision as of 03:49, 28 January 2015

GTA III Vice City San Andreas START_CAR_FIRE


Description

Creates a fire on the vehicle

Syntax

0325: [var] = create_car [car handle] fire

Parameter

[var]
Variable to store the handle of the fire
[car handle]
The handle of the vehicle

Native analog

START_CAR_FIRE

This creates a perpetual fire on the vehicle. The fire does not damage the vehicle and is mostly harmless to bystanders. It can be extinguished with the Firetruck's hose or a Fire Extinguisher, or removed using opcode 02D1. While the vehicle is on fire, it does not take any damage from environmental fire.

Keywords

create, start, fire, vehicle, car

See also

  • 0326, creates a fire on the character