Jump to content

[Resolved] Black loading screen after death


VegaZ

Recommended Posts

Hello,

I've got a problem when a player dies on my server. I disabled the AutoRespawnAfterDeath via 

NAPI.Server.SetAutoRespawnAfterDeath(false);

When a player dies, after 5 seconds the screen is fading to a completely black screen and in the bottom right corner the GTA 5 "Loading symbol" appears. Is there a solution for this problem or this just an unfinished feature? I also draw some text and rectangles on clientside, to show the player how long he will be dead.

Best regards,

VegaZ

 

This fixed it for me:

mp.game.gameplay.setFadeOutAfterDeath(false);

 

Edited by VegaZ
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...