create_player iPedType, fX, fY, fZ, hPlayer
Description
Creates a player.
Parameters
- iPedType
- The PedType for this player. You will normally want to use 0 here.
- fX, fY, fZ
- The coordinates where the player will be placed.
- hPlayer
- The variable you use here will be loaded with a handle for the player, which you will need to manipulate it.
Example
create_player 0, 83.0, -849.8, 9.3, $hPlayer
Comments
Creating a player is one of the first things the mission script needs to do.
CategoryPlayerOpcodes