• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Remove Frags

mpa

Member
Joined
Oct 8, 2008
Messages
319
Reaction score
13
Location
Sweden
I want a script that remove frags and redskull if player have special item.
Also, a script that can remove the "Excessive player killing" ban to geisor aac shopsystem.

Would really appreciate if somebody could do this.

Thanks,
mpa
 
local config =
{
item = 333,
count = 1
}

function onSay(cid, words, param)
if getPlayerItemCount(cid, config.item) >= config.count then
doRemoveItem(cid, config.item, config.count)
doPlayerSetRedSkullTicks(cid, 0)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your frags has been cleared.")
else
doPlayerSendCancel(cid, "You dont have this item.")
end
return TRUE
end
talkaction funtion.
 
Back
Top