mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-14 18:24:54 +02:00
Converted tfs 1.0 scripts to meta, removed some spaces from config and fixed a typo
This commit is contained in:
@@ -86,11 +86,11 @@ function onDeath(cid, corpse, killer, mostDamage, unjustified, mostDamage_unjust
|
||||
end
|
||||
|
||||
if guildKills1 >= fragLimit or guildKills2 >= fragLimit then
|
||||
broadcastMessage(string.format("%s has just won the war against %s.", killerGuild:getName(), playerGuild:getName()), MESSAGE_EVENT_ADVANCE)
|
||||
Game.broadcastMessage(string.format("%s has just won the war against %s.", killerGuild:getName(), playerGuild:getName()), MESSAGE_EVENT_ADVANCE)
|
||||
db.query("UPDATE `guild_wars` SET `status` = 4, `ended` = " .. os.time() .. " WHERE `status` = 1 AND `id` = " .. warId)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user