Sign in to follow this  
VegaZ

[Resolved] Black loading screen after death

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.