GTAG - Modding - Opcode Database - 00A5
Opcode Database
00A5
| Description | Creates a car at the specified coordinates, with the specified model. The cars handle is stored into the specified variable. |
|---|---|
| Parameters (v2) | 1) Model (Integer) (MODEL) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) Z Coord (Float) (FLOAT) 5) (Returned) Vehicle handle (Integer) (INT) |
| Games | |
| Category | Common, Creation, Vehicle |
| Command Name (IV) | CREATE_CAR |
| San Andreas | |
| sascm.ini | 00A5=5,create_car %1o% at %2d% %3d% %4d% store_to %5d% |
| Example | 00A5: create_car #PONY at 0.0 0.0 0.0 store_to 0@ |
| Command Name | CREATE_CAR |
| Vice City | |
| sascm.ini | 00A5=5,create_car %1o% at %2d% %3d% %4d% store_to %5d% |
| Example | 00A5: create_car #DELUXO at -1022.3 -868.2 12.0 store_to $1121 |
| Command Name | CREATE_CAR |
| GTA III | |
| gtascm.ini | 00A5=5,create_car %1o% at %2d% %3d% %4d% store_to %5d% |
| Example | 00A5: create_car $VAR_PORTLAND_IMPORT_TYPE at 1504.0625 -680.0624 12.0625 store_to $CAR_PORTLAND_IMPORT |
| Command Name | CREATE_CAR |

