- -- Show Multikills and Kill Streaks
- -- Xfire : kenster789
- -- Version : (11/24/13) Personal Release
- function GetRequiredVersion()
- return 10057
- end
- function OnScriptLoad(process)
- end
- function OnScriptUnload()
- end
- function OnNewGame(map)
- end
- function OnGameEnd(mode)
- end
- function OnServerChat(player, chattype, message)
- return 1
- end
- function OnServerCommand(player, command)
- return 1
- end
- function OnTeamDecision(team)
- return team
- end
- function OnPlayerJoin(player, team)
- end
- function OnPlayerLeave(player, team)
- end
- function OnPlayerKill(killer, victim, mode)
- if mode == 4 then
- local spree = readword(getplayer(killer), 0x96)
- local multikill = readword(getplayer(killer), 0x98)
- if tonumber(multikill) then
- if multikill == 2 then
- privatesay(killer, "Double Kill!")
- elseif multikill == 3 then
- privatesay(killer, "Triple Kill!")
- elseif multikill == 4 then
- privatesay(killer, "OverKill!")
- elseif multikill == 5 then
- privatesay(killer, "Killtacular!")
- elseif multikill == 6 then
- privatesay(killer, "Killtrocity!")
- elseif multikill == 7 then
- privatesay(killer, "Killimanjaro!")
- elseif multikill == 8 then
- privatesay(killer, "Killtastrophe!")
- elseif multikill == 9 then
- privatesay(killer, "Killpocalypse!")
- elseif multikill >= 10 then
- privatesay(killer, "Killionaire!")
- end
- end
- if tonumber(spree) then
- if spree == 5 then
- say(getname(killer) .. " is on a Killing Spree!")
- elseif spree == 10 then
- say(getname(killer) .. " is on a Killing Frenzy!")
- elseif spree == 15 then
- say(getname(killer) .. " is on a Running Riot!")
- elseif spree == 20 then
- say(getname(killer) .. " is on a Rampage!")
- elseif spree == 25 then
- say(getname(killer) .. " is Untouchable!")
- elseif spree == 30 then
- say(getname(killer) .. " is Invincible!")
- elseif spree == 35 then
- say(getname(killer) .. " is Inconceivable!")
- elseif spree >= 40 and spree%5 == 0 then
- say(getname(killer) .. " is Unfrigginbelievable!")
- end
- end
- end
- end
- function OnKillMultiplier(player, multiplier)
- end
- function OnPlayerSpawn(player, m_objId)
- end
- function OnPlayerSpawnEnd(player, m_objId)
- end
- function OnTeamChange(relevant, player, cur_team, dest_team)
- return 1
- end
- function OnObjectCreation(m_objId, player, tagName)
- end
- function OnObjectInteraction(player, m_objId, tagType, tagName)
- return 1
- end
- function OnWeaponAssignment(player, m_objId, slot, tagName)
- return 0
- end
- function OnWeaponReload(player, m_weapId)
- return 1
- end
- function OnDamageLookup(receiver, causer, tagData, tagName)
- end
- function OnVehicleEntry(relevant, player, m_vehicleId, tagName, seat)
- return 1
- end
- function OnVehicleEject(player, forced)
- return 1
- end
- function OnClientUpdate(player, m_objId)
- end
Recent Pastes