Difference between revisions of "047D"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|trilogy}} '''GET_NUMBER_OF_SEATS_IN_MODEL''' <hr /> '''Description''' : Gets number of seats in vehicle with specified model '''Syntax''' : 047D: get_number_of_seats_in...")
 
m
Line 1: Line 1:
{{Icon|trilogy}} '''GET_NUMBER_OF_SEATS_IN_MODEL'''
+
{{Icon|3}} '''GET_NUMBER_OF_SEATS_IN_MODEL'''
 
<hr />
 
<hr />
 
'''Description'''
 
'''Description'''

Revision as of 22:24, 4 February 2015

GTA III GET_NUMBER_OF_SEATS_IN_MODEL


Description

Gets number of seats in vehicle with specified model

Syntax

047D: get_number_of_seats_in_model [int] store_to [var]

Parameter

[int]
Valid vehicle model ID number as defined in the IDE file; also acceptable is model's DFF name identified by a hash character
[var]
Variable to store number of seats

This opcode stores the number of seats in a model. The model must be a valid vehicle model, otherwise the opcode returns an unexpectable result. Some returned values are hardcoded as described below:

Model Id Model Name Number of seats
97 FIRETRUK 2
124 TRAIN 3
127 COACH 8
131 RCBANDIT 0

Keywords

model, seats, store, get