• Making a new deathscreen for DarkRP
    1 replies, posted
I want to know how exactly would I go about creating an image that would popup on player death. It would make the screen fully black with white letters saying "You have died. You cannot go back to that same area within 5 minutes. And then after like 4 or 5 seconds it would fade out and they can resume respawning.
With the [URL="http://wiki.garrysmod.com/page/GM/PlayerDeath"]PlayerDeath[/URL] hook, send a [URL="http://wiki.garrysmod.com/page/Net_Library_Usage"]net message[/URL] to the client telling it to [URL="http://wiki.garrysmod.com/page/draw/DrawText"]draw the text[/URL] on the player's screen for a [URL="http://wiki.garrysmod.com/page/timer/Simple"]certain length of time.[/URL]
Sorry, you need to Log In to post a reply to this thread.