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?
so someone is actually making it?oh my god yeessssss
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.
Can someone show the mod in a video?
http://youtu.be/MRifO_BLy5U?t=1m40s