Difference between revisions of "0236"

From GTAMods Wiki
Jump to navigation Jump to search
(created article)
 
m
Line 6: Line 6:
 
| game        = [[GTA 3]], [[Vice City]]
 
| game        = [[GTA 3]], [[Vice City]]
 
}}
 
}}
This opcode sets the gang's preferred vehicle to drive in. The opcode is used in conjunction with [[0152]] so either opcodes are useless by themselves. Only one gang car can be used for each gang. If the class of the vehicle is assigned to a ped (i.e. taxi drivers in taxis) in the [[PEDS]] section of the [[IDE]] file, it will not spawn the gang member but will spawn the assigned ped instead.
+
This opcode sets the gang's preferred vehicle to drive in. The opcode is used in conjunction with [[0152]] so it is useless by itself. Only one gang car can be used for each gang. If the vehicle is assigned to a ped (i.e. taxi drivers in taxis), it will not spawn the gang member but will spawn the assigned ped instead. This assignment seems [[hardcoded]].

Revision as of 01:12, 15 November 2009

{{{games}}}


Description
Sets the gang's preferred vehicle to drive in
Syntax
{{{syntax1}}}
Parameter

This opcode sets the gang's preferred vehicle to drive in. The opcode is used in conjunction with 0152 so it is useless by itself. Only one gang car can be used for each gang. If the vehicle is assigned to a ped (i.e. taxi drivers in taxis), it will not spawn the gang member but will spawn the assigned ped instead. This assignment seems hardcoded.