Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32043

[TFS 1.2+] Show war frags on guild channel

$
0
0
Someone asked me for code to show war frags on guild chat. I made it for him, but he said I can release it.

In file data/creaturescripts/scripts/playerdeath.lua replace:
Code:
if warId ~= false then
   db.asyncQuery("INSERT INTO `guildwar_kills` (`killer`, `target`, `killerguild`, `targetguild`, `time`, `warid`) VALUES (" .. db.escapeString(killerName) .. ", " .. db.escapeString(player:getName()) .. ", " .. killerGuild .. ", " .. targetGuild .. ", " .. os.time() .. ", " .. warId ...
[TFS 1.2+] Show war frags on guild channel

Viewing all articles
Browse latest Browse all 32043

Trending Articles