xLosT
Member
help to creat in globalevents or creaturescripts
PHP:
if getPlayerSoul(lastHitKiller) == 5 then
broadcastMessage(getCreatureName(lastHitKiller) .. " is on killing spree! He killed 5 players!", MESSAGE_STATUS_CONSOLE_RED)
elseif getPlayerSoul(lastHitKiller) == 10 then
broadcastMessage(getCreatureName(lastHitKiller) .. " is dominating! He killed 10 players!", MESSAGE_STATUS_CONSOLE_RED)
elseif getPlayerSoul(lastHitKiller) == 25 then
broadcastMessage(getCreatureName(lastHitKiller) .. " is Serial Killer! He killed 25 players! Kill Him!", MESSAGE_STATUS_CONSOLE_RED)
elseif getPlayerSoul(lastHitKiller) == 50 then
broadcastMessage(getCreatureName(lastHitKiller) .. " is Insane Kills! He killed 50 players! DO SOMETHING!", MESSAGE_STATUS_CONSOLE_RED)
elseif getPlayerSoul(lastHitKiller) == 75 then
broadcastMessage(getCreatureName(lastHitKiller) .. " is Master Killa! He killed 75 players! STOP HIM!", MESSAGE_STATUS_CONSOLE_RED)
elseif getPlayerSoul(lastHitKiller) == 100 then
broadcastMessage(getCreatureName(lastHitKiller) .. " is UNSTOPPABLE!! He killed 100 players!! YOU MUST KILL HIM!!", MESSAGE_STATUS_CONSOLE_RED)
elseif getPlayerSoul(lastHitKiller) == 125 then
broadcastMessage(getCreatureName(lastHitKiller) .. " Gimme MORE!! He killed 125 players!! RUN WHILE YOU CAN!!", MESSAGE_STATUS_CONSOLE_RED)
elseif getPlayerSoul(lastHitKiller) == 150 then
broadcastMessage(getCreatureName(lastHitKiller) .. " is MERCENARY!!! He killed 150 players!! HIDE YOURSELF!!", MESSAGE_STATUS_WARNING)
elseif getPlayerSoul(lastHitKiller) == 175 then
broadcastMessage(getCreatureName(lastHitKiller) .. " STOP IT!!! He killed 175 players!! JUST RUN!!", MESSAGE_STATUS_WARNING)
elseif getPlayerSoul(lastHitKiller) == 200 then
broadcastMessage(getCreatureName(lastHitKiller) .. " is CHEEAATTEEERRRR!! He killed 200 players!!! GM LOOK HIM!!!", MESSAGE_STATUS_WARNING)
elseif getPlayerSoul(lastHitKiller) == 300 then
broadcastMessage(getCreatureName(lastHitKiller) .. " is CHUCK NORRIS!!! HE KILLED 300 PLAYERS!!! RUN BEFORE HE FIND YOU!!!", MESSAGE_STATUS_WARNING)