Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0107

Opcode Database

0107

DescriptionCreates 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)
Gamessa vc iii
CategoryCommon, Creation, Object
Command Name (IV)CREATE_OBJECT
San Andreas
sascm.ini0107=5,create_object %1o% at %2d% %3d% %4d% store_to %5d%
Example0107: create_object #AD_FLATDOOR at 1833.36 -1995.45 12.5 store_to $2706
Command NameCREATE_OBJECT
Vice City
sascm.ini0107=5,%5d% = create_object %1o% at %2d% %3d% %4d%
Example0107: $889 = create_object #COLT45 at -60.793 -1488.141 12.24
Command NameCREATE_OBJECT
GTA III
gtascm.ini0107=5,%5d% = create_object %1o% at %2d% %3d% %4d%
Example0107: $JOEY2_NOODLE_STAND = create_object #NOODLESBOX at 975.0 -719.9999 14.0
Command NameCREATE_OBJECT

<< 0106

0108 >>