xxgoosexx
GoosioOT
- Joined
- Jul 10, 2007
- Messages
- 298
- Reaction score
- 2
Code:
--Adam 2008
--Goosio OT
local condition = createConditionObject(CONDITION_MUTED)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10*1000) -- 10*1000 is 10 seconds.
function onSay(cid, words, param)
player = getPlayerByName(param)
if getPlayerGroupId(cid) > 2 then
if player > 1 then
doAddCondition(player, condition)
else
doPlayerSendCancel(cid, "That player is not online.")
end
else
doPlayerSendCancel(cid, "You cannot execute this command.")
end
end
Last edited: