• 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!

Lua doPlayerSetGroupId(cid, 1)

Krzkru

New Member
Joined
Jan 10, 2013
Messages
89
Reaction score
1
Location
Poland
function onUse(cid, item, fromPosition, itemEx, toPosition)
doPlayerSetGroupId(cid, 1)
if not
canPlayerWearOutfitId(cid, item.uid - 12000, 3) then
doCreatureSay(cid, 'You now have the ' ..t[item.uid] .. ' Addons!', TALKTYPE_ORANGE_1)
doPlayerAddOutfitId(cid, item.uid - 12000, 3)
doSendMagicEffect(getThingPos(cid), math.random(67))
else
doCreatureSay(cid, 'You already have the ' .. t[item.uid] .. ' Addons!', TALKTYPE_ORANGE_1, false, cid)
end
return true
end

how to delete this action thats changing any group to player?
 
Back
Top