undead mage
Active Member
just say !removefrags with the doll in ur bp
This In Talkactions
data\talkactions\scripts\removefrags
(Also this script isnt mine! im just sharing its from Limos so give her the rep )
This In Talkactions
PHP:
<talkaction words="!removefrags" event="script" value="removefrags.lua"/>
data\talkactions\scripts\removefrags
PHP:
function onSay(cid, words, param)
if getPlayerItemCount(cid, 2110) >= 1 then
doPlayerRemoveItem(cid, 2110, 1)
db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")")
doPlayerSendTextMessage(cid,25,"Your frags have been removed.")
else
doPlayerSendCancel(cid, 'You need a doll for this.')
end
end
(Also this script isnt mine! im just sharing its from Limos so give her the rep )