Blockland Forums > Suggestions & Requests
GTA V Death
xSetrox:
--- Quote from: Eden on February 10, 2014, 08:00:53 AM ---Why's it bottom print? GTA V has it center print.
--- End quote ---
because if it used center print it would just go away when it center pains "click to respawn" and stuff
Awdax:
Why not draw/load an image ("Wasted" text) in the center of the screen?
K3k0m@n:
--- Quote from: Awdax on February 10, 2014, 06:57:38 PM ---Why not draw/load an image ("Wasted" text) in the center of the screen?
--- End quote ---
The only way I can think of doing that is to use bitmaps, which won't work.
Mr Queeba:
--- Quote from: Advanced Bot on February 09, 2014, 01:21:50 PM ---Oh, I didn't see the issues. I will take a look.
It was not coded correctly.
Source:
datablock AudioProfile(DedWasted)
{
filename = "./Wasted.wav";
description = AudioClosest3d;
preload = false;
};
package GTADeath
{
function gameConnection::onDeath(%client,%obj,%killer,%type,%location)
{
serverPlay2D(DedWasted); //Needs a datablock, not the file
commandtoclient(%client,'SetVignette',1, "0 0 0 255");
%client.bottomprint("<color:990000><font:Impact:30>WASTED",5,0);
//commandToclient(%client,'setTimescale',0.5); - You have to find another way of how it will work since it is calling that the player is dead
Parent::onDeath(%client,%obj,%killer,%type,%location);
}
};
activatepackage(GTADeath);
Download
--- End quote ---
Is this the fixed version of the code?
Mustango:
You mean like this ^^^