jareczekjsp
Member
Hello guys I have Castle 24 and I would like make 2 characters with the same ip canot go ,only 1 character can go how I can do it?
My script is
My script is
Lua:
function onStepIn(player, item, position, fromPosition)
if item.itemid == 426 then
if player:getGuild() then
if player:getLevel() >= 100 then
if player:getExhaustion(1001) <= 0 then
player:setExhaustion(1001, 60)
broadcastMessage("[CASTLE 24] Gracz ".. player:getName() .." z gilldi ".. player:getGuild():getName() .." wszedl na zamek!")
sendChannelMessage(12, TALKTYPE_CHANNEL_R1, "Gracz: ".. player:getName() .."z gilldi ".. player:getGuild():getName() .." wszedl na zamek!")
else
end
else
player:teleportTo(fromPosition)
player:sendCancelMessage("Nie posiadasz 100 poziomu.")
end
else
player:teleportTo(fromPosition)
player:sendCancelMessage("Nie posiadasz gilldi.")
end
end
return true
end