Skip to main content

CREATE_PLAYER

Game.CreatePlayerHash0x335E3951
Usage
local playerIndex2 = Game.CreatePlayer(playerIndex, x, y, z)

Creates a player at the given coordinates.

Parameters

  • playerIndexintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

  • playerIndex2integerint*
Original declaration
// 0x335E3951
void CREATE_PLAYER(int playerIndex, float x, float y, float z, int* playerIndex);