GTAG - Modding - Opcode Database - 009A
Opcode Database
009A
| Description | Creates an character at the specified coordinates, with the specified model and pedtype. The characters handle is written to the specified variable. |
|---|---|
| Parameters (v2) | 1) Pedtype (Integer) (INT) 2) Model (Integer) (MODEL) 3) X Coord (Float) (FLOAT) 4) Y Coord (Float) (FLOAT) 5) Z Coord (Float) (FLOAT) 6) (Returned) Actor handle (Integer) (INT) |
| Games | |
| Category | Actor, Common, Creation |
| Command Name (IV) | CREATE_CHAR |
| San Andreas | |
| sascm.ini | 009A=6,create_char %1d% model %2o% at %3d% %4d% %5d% store_to %6d% |
| Example | 009A: create_char 4 model #MALE01 at 0.0 0.0 0.0 store_to 2@ |
| Command Name | CREATE_CHAR |
| Vice City | |
| sascm.ini | 009A=6,create_char %1d% model %2o% at %3d% %4d% %5d% store_to %6d% |
| Example | 009A: create_char 4 model #PGA at 0.0 0.0 0.0 store_to 2@ |
| Command Name | CREATE_CHAR |
| GTA III | |
| gtascm.ini | 009A=6,create_char %1d% model %2o% at %3d% %4d% %5d% store_to %6d% |
| Example | 009A: create_char 4 model #SPECIAL04 at 0.0 0.0 0.0 store_to 2@ |
| Command Name | CREATE_CHAR |

