Skip to main content

CREATE_CHAR

Game.CreateCharHash0x4A673763
Usage
local charIndex = Game.CreateChar(charType, modelHashKey, x, y, z, registerAsNetworkObject)

Creates a char on foot at the specified coords.

Parameters

  • charTypeintegerint
  • modelHashKeyintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • registerAsNetworkObjectbooleanbool

Returns

  • charIndexintegerint*
Original declaration
// 0x4A673763
void CREATE_CHAR(int charType, int modelHashKey, float x, float y, float z, int* charIndex, bool registerAsNetworkObject);