function GameConnection::onDeath(%client){ %client.play2d(AudioDatablock); Parent::onDeath(%client);}
Code: [Select]function GameConnection::onDeath(%client){ %client.play2d(AudioDatablock); Parent::onDeath(%client);}I think that's it.
Modify Player::playDeathCry.
What's this found in?
package blah{ function Player::playDeathCry(%this) { parent::playDeathCry(%this); //play sound here }};
Its a functionieCode: [Select]package blah{ function Player::playDeathCry(%this) { parent::playDeathCry(%this); //play sound here }};EDITif you are trying to CHANGE a player's death sound, remove the parent and play the sound in 3D. (if you arent already)
Am I packaging this correctly? http://www.mediafire.com/download/zru8zmgdppkwlax/Server_Goodbye.zip