047D
								
								Jump to navigation
				Jump to search
				
					
								
							
		Description
- Gets number of seats in vehicle with specified model
Syntax
- 047D: get_number_of_seats_in_model [int] store_to [var]
Parameter
- [int]
- [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


