Author Topic: GTA V Death  (Read 3123 times)

A death where the entire screen turns into faded colors, plays a sound, and centerprints "Wasted". And right as it says wasted, the screen turns black and white (if possible, just a really gray vignette will be fine)
https://www.youtube.com/watch?v=fnaSX001iT4
« Last Edit: February 02, 2014, 10:23:48 PM by xSetrox »

i don't know but my friend likes GTA V alot.



A death where the entire screen turns into faded colors, plays a sound, and centerprints "Wasted". And right as it says wasted, the screen turns black and white (if possible, just a really gray vignette will be fine)
https://www.youtube.com/watch?v=fnaSX001iT4

That will be some extreme scripting.

That will be some extreme scripting.
.............
are you sure

No this is real easy but I can't do it



proof
You take the player vignette to grey like the nvg do green and center print the words and call it on player death

You take the player vignette to grey like the nvg do green and center print the words and call it on player death
wouldn't we have to replace the "respawning in...." centerprint?

wouldn't we have to replace the "respawning in...." centerprint?
Yes but I've seen that done before it would be a little hacky

I'm terrible at coding.
Quote
package GTADeath
{
    function gameConnection::onDeath(%killed, %killerPlayer, %killer, %a, %b)
    {
       killed.player.commandtoclient(%client, 'SetVignette', bool multiply, "224 224 224 0.050");
       killed.player.getHackPosition() SPC "0 0 1 0");
       killed.player.clientcmdbottom print(<color:990000>WASTED, 5, 0);
        return parent::onDeath(%killed, %killerPlayer, %killer, %a, %b);
    }
};
activatepackage(GTADeath);


I'm terrible at coding.
First of all, that is missing a lot of code. There is also a lot of syntax errors.

Here is the correct one:

package GTADeath
{
    function gameConnection::onDeath(%client,%obj,%killer,%type,%location)
    {
      commandtoclient(%client,'SetVignette',1, "0 0 0 255");
      %client.bottomprint("<color:990000>WASTED",5,0);
      commandToclient(%client,'setTimescale',0.5);
      Parent::onDeath(%client,%obj,%killer,%type,%location);
    }
};
activatepackage(GTADeath);