GTAG - Modding - Opcode Database - 0107
Opcode Database
0107
Description | Creates an object with the specified model at the specified coordinates and stores it into a variable. |
---|---|
Parameters (v2) | 1) Model (Integer) (MODEL) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) Z Coord (Float) (FLOAT) 5) (Returned) Object handle (Integer) (INT) |
Games | |
Category | Common, Creation, Object |
Command Name (IV) | CREATE_OBJECT |
San Andreas | |
sascm.ini | 0107=5,create_object %1o% at %2d% %3d% %4d% store_to %5d% |
Example | 0107: create_object #AD_FLATDOOR at 1833.36 -1995.45 12.5 store_to $2706 |
Command Name | CREATE_OBJECT |
Vice City | |
sascm.ini | 0107=5,%5d% = create_object %1o% at %2d% %3d% %4d% |
Example | 0107: $889 = create_object #COLT45 at -60.793 -1488.141 12.24 |
Command Name | CREATE_OBJECT |
GTA III | |
gtascm.ini | 0107=5,%5d% = create_object %1o% at %2d% %3d% %4d% |
Example | 0107: $JOEY2_NOODLE_STAND = create_object #NOODLESBOX at 975.0 -719.9999 14.0 |
Command Name | CREATE_OBJECT |