Hi Guys, i have a last killcam tried , but that works almost, if lastkillcam will open, then it show not how he killed the last, that shows what he did the last 7 seconds xD, but i want to know how he killed and not what he did last 7 seconds. here my modify tdm.gsc:
Code:Callback_PlayerKilled(eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration) { ........ //somewhere down... level.lastkillcam = []; level.lastkillcam["attackernum"] = attackerNum; level.lastkillcam["delay"] = delay; level.lastkillcam["psOffsetTime"] = psOffsetTime; }Somebody know how to fix that?Code:endMap() { game["state"] = "intermission"; level notify("intermission"); // Randall --> if (isDefined(level.lastkillcam)) { players = getEntArray("player", "classname"); for (i = 0; i < players.size; i++) { players[i] thread maps\mp\gametypes\_killcam::killcam(level.lastkillcam["attackernum"], level.lastkillcam["delay"], level.lastkillcam["psOffsetTime"]); } } // <-- wait 30; ......... // Default settings
Btw i don't modify the _killcam.gsc
Thank you for every help and every reply!




Reply With Quote