Sultinho
www.titania-global.com
- Joined
- May 20, 2009
- Messages
- 109
- Reaction score
- 2
My script is globalevent:
Look my globalevents.xml:
And script:
- - - Updated - - -
BUMP
- - - Updated - - -
BUMP
Look my globalevents.xml:
Code:
<globalevent name="frags" interval="1000" event="script" value="frags.lua"/>
And script:
Code:
function onTime()
doBroadcastMessage("All frags and Skulls are removede. Re-log please.")
db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")")
doCreatureSetSkullType(cid, 0)
return true
end
- - - Updated - - -
BUMP
- - - Updated - - -
BUMP