096D

From GTAMods Wiki
Revision as of 10:06, 3 December 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

San Andreas GET_CURRENT_CAR_MOD


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