I have an very simple code in _callbacksetup.gsc but it didn't work...
The game starts without an Error but there comes no massage -_-
i have define the variables self.killer and self.sMeansOfDeath.
Do you know, why it didn't work?
The game starts without an Error but there comes no massage -_-
PHP Code:
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
{
self endon("disconnect");
self.killer = eAttacker;
self.sMeansOfDeath = sMeansOfDeath;
eAttacker iprintlnbold(self.killer + " - " + self.sMeansOfDeath);
[[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
}
Do you know, why it didn't work?
Sorry for bad English -> *GERMAN*