function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if isPlayer(cid) then
if getStorage(item.itemid) == 4 then -- this is the function that checks if the fifth player have stpped in
-- do w/e you want
doSetStorage(item.itemid,-1) -- reset the players count
else
doSetStorage(item.itemid, getStorage(item.itemid) + 1 )
end
end
return true
end