Author Topic: GTA V Death  (Read 3156 times)

Wow, it took 2 seconds to make that? Hang on, I'm gonna go test it.

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);

Can I package this as a server add-on?
I am thinking about taking code like this and packaging it.

EDIT: Any idea on how to put the sound FX?
« Last Edit: February 05, 2014, 06:08:32 PM by Mr Queeba »


Can I package this as a server add-on?
I am thinking about taking code like this and packaging it.

EDIT: Any idea on how to put the sound FX?
in the function before the Parent, it is serverPlay2D(SoundDatablock);

so someone is actually making it?
oh my god yeessssss

so someone is actually making it?
oh my god yeessssss
I'm new to making add-ons, be patient.
I may have to exclude the sound, I just gotta take the code and slap it into a server.cs, then put a description file and package it as a server file.

Do I replace SoundDatablock with the name of the audio file?
What kind of file does the audio file have to be?

Do I replace SoundDatablock with the name of the audio file?
What kind of file does the audio file have to be?
For the first question, I think so.
For the second, wav, I think.

For the first question, I think so.
For the second, wav, I think.

Both are correct.

Can someone show the mod in a video?

Can someone show the mod in a video?
I haven't started to work on it.

Pretty much done on my part: http://www.mediafire.com/download/jt2t22cdx61ybk7/Server_Wasted.zip

Issues:
Sound won't play.
Timescale won't change.

If someone could fix those that would be great.