Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0053

Opcode Database

0053

DescriptionCreates a player at the specified position.

First parameter is the index of the player. There can only be 2 players by default.

Player 1 wears the default CJ skin with the default clothes. Player 2 wears the same model as currently set for Player 1. Creating Player 2 will display a new HUD.

To change the clothes of a player, use 087B.
To change the model of a player, use 097C.
To delete extra players, use 06DF.
Parameters (v2)1) Model (Integer) (MODEL)
2) X Coord (Float) (FLOAT)
3) Y Coord (Float) (FLOAT)
4) Z Coord (Float) (FLOAT)
5) (Returned) Player handle (Integer) (INT)
Gamessa vc iii
CategoryCreation, Player
Command Name (IV)CREATE_PLAYER
San Andreas
sascm.ini0053=5,create_player %1d% at %2d% %3d% %4d% store_to %5d%
Example0053: create_player #NULL at 2488.562 -1666.865 12.8757 store_to $PLAYER_CHAR
Command NameCREATE_PLAYER
Vice City
sascm.ini0053=5,create_player %1t% at %2d% %3d% %4d% store_to %5d%
Example0053: create_player #NULL at 83.0 -849.8 9.3 store_to $player_char
Command NameCREATE_PLAYER
GTA III
gtascm.ini0053=5,create_player %1o% at %2d% %3d% %4d% store_to %5d%
Example0053: create_player #NULL at 811.875 -939.9374 35.75 store_to $PLAYER_CHAR
Command NameCREATE_PLAYER

<< 0052

0054 >>