Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 06D8

Opcode Database

06D8

DescriptionCreates a script handled train from a predefined type (the type dictates how long the train is and the varieties of carriages) and sets the direction for the train to head in.
Parameters (v2)1) Train type ID (Integer) (INT)
2) X Coord (Float) (FLOAT)
3) Y Coord (Float) (FLOAT)
4) Z Coord (Float) (FLOAT)
5) Boolean (1 or 0) (INT)
6) (Returned) Train handle (Integer) (INT)
Gamessa
CategoryCreation, Train
Command Name (IV)CREATE_MISSION_TRAIN
San Andreas
sascm.ini06D8=6,create_mission_train %1d% at %2d% %3d% %4d% direction %5d% store_to %6d%
Example06D8: create_mission_train 13 at 2285.152 -1257.5 23.0 direction 1 store_to 36@
Command NameCREATE_MISSION_TRAIN

<< 06D7

06D9 >>