Skip to main content

REGISTER_PLAYER_RESPAWN_COORDS

Game.RegisterPlayerRespawnCoordsHash0x001954A2
Usage
Game.RegisterPlayerRespawnCoords(playerIndex, x, y, z)

Stops peds from spawning nearby this coord instead of the players pos for 3 seconds.

Parameters

  • playerIndexintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

Nothing

Original declaration
// 0x001954A2
void REGISTER_PLAYER_RESPAWN_COORDS(int playerIndex, float x, float y, float z);