Most important message first

master
rubenwardy 2015-12-01 23:59:18 +00:00
parent 2c2ebfe437
commit d9c1f7dcd1
1 changed files with 2 additions and 0 deletions

View File

@ -35,9 +35,11 @@ ctf.hud.register_part(function(player, name, tplayer)
if flag.claimed.player == name then
alert = "You've got the flag! Run back and punch your flag!"
color = "0xFF0000"
break
elseif flag.team == tplayer.team then
alert = "Kill " .. flag.claimed.player .. ", they have your flag!"
color = "0xFF0000"
break
else
alert = "Protect " .. flag.claimed.player .. ", he's got the enemy flag!"
color = "0xFF0000"