1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. GTA Network forum is now in archive mode.

How to Disable Automatic Respawn after GTA:N Update?

Discussion in 'Archive' started by Hazes, Jun 4, 2017.

  1. Hazes

    Hazes Active Member

    Messages:
    95
    Likes Received:
    21
    Joined:
    Apr 8, 2017
    Hey guys!
    Before the GTA Network Update I used to handle player death like this:

    Code:
            API.sendNativeToPlayer(player, Hash.RESET_PLAYER_ARREST_STATE, player);
            API.sendNativeToPlayer(player, Hash.IGNORE_NEXT_RESTART, true);
            API.sendNativeToPlayer(player, Hash._DISABLE_AUTOMATIC_RESPAWN, true);
            API.sendNativeToPlayer(player, Hash.SET_FADE_IN_AFTER_DEATH_ARREST, true);
            API.sendNativeToPlayer(player, Hash.SET_FADE_OUT_AFTER_DEATH, false);
            API.sendNativeToPlayer(player, Hash.NETWORK_REQUEST_CONTROL_OF_ENTITY, player);
            API.sendNativeToPlayer(player, Hash.DISPLAY_HUD, true);
    Player should be staying down on the ground after death.
    After update I get respawned automatically again. Any ideas anyone? :=)

    #EDIT:
    I also seem to be having a problem with vehicle damage. When I hit anything it doesn't take any health from vehicle, however if I blow it up it instantly goes to 0. Anyone know if it's a bug?

    Regards,
    Hazes.
     
    Last edited: Jun 4, 2017
    Letho likes this.
  2. Hazes

    Hazes Active Member

    Messages:
    95
    Likes Received:
    21
    Joined:
    Apr 8, 2017
    All of these issues are fixed after the updates. Please close.
    Thanks!
     

Share This Page