Request CanPlayerSpawn hook (Rust)

Discussion in 'Feature Suggestions' started by miRror, Nov 21, 2017.

  1. Fix the hook so to be able to return the action
     
  2. Wulf

    Wulf Community Admin

    What action? This isn't a hook that is intended for returning, there are hooks that happen before it if you're wanting to deny the connection.
     
  3. On map CraggyIsland when using FindSpawnPoint an error occurs in the console:
    Code:
    Couldn't find an appropriate spawnpoint for the player - so spawning at camera
    When you connect on to the server I want independently create new player.

    At the moment the developers in the method, BasePlayer->SpawnNewPlayer trying to create twice the player and twice to find the coordinates for the spawn. I would like this misunderstanding to avoid.
     
  4. Wulf

    Wulf Community Admin

    So you just want a hook to prevent the player from spawning then?