local config =
{
item = itemid, -- itemid the item you right click on and reset your frags.
level = 1,
count = 0
}
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= config.level then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your frags has been removed. \n Thanks For Donate!")
doRemoveItem(item.uid)
getPlayerSkullType(cid, 0)
getPlayerSkullType(cid, 0)
else
doPlayerSendCancel(cid, "You dot have enough level")
end
return TRUE
end