Difference between revisions of "096D"
Jump to navigation
Jump to search
(someone double check) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | games = {{Icon|SA}} | |
− | ''' | + | | command = GET_CURRENT_CAR_MOD |
− | ''' | + | | description = Gets the model of the car component |
− | '' | + | | syntax1 = 096D: get_car [''car handle''] component_on_slot [''int''] model_to [''var''] |
− | ''' | + | | p1t = [''car handle''] |
+ | | p1d = The handle of the vehicle | ||
+ | | p2t = [''int''] | ||
+ | | p2d = Slot | ||
+ | | p3t = [''var''] | ||
+ | | p3d = Variable to store the model index | ||
+ | }} | ||
− | This opcode stores the model | + | This opcode stores the model index of the car component in the selected slot of the vehicle. If the slot is not valid, the game will crash. |
− | + | == Keywords == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ==Keywords== | ||
car, vehicle, component, mod | car, vehicle, component, mod | ||
− | |||
− |
Latest revision as of 10:06, 3 December 2016
- Description
- Gets the model of the car component
- Syntax
- 096D: get_car [car handle] component_on_slot [int] model_to [var]
- Parameter
- [car handle]
- The handle of the vehicle
- [int]
- Slot
- [var]
- Variable to store the model index
This opcode stores the model index of the car component in the selected slot of the vehicle. If the slot is not valid, the game will crash.
Keywords
car, vehicle, component, mod