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

nie można uzywać UE w danym miejscu

God Avoni

New Member
Joined
Mar 2, 2013
Messages
15
Reaction score
0
Witam,

Posiada ktoś skrypty że w danym miejscu X,Y,Z - X,Y,Z nie można używać UE ?

Tylko SD, wave itd.

Muszę grzebać coś w plikach silnika ? Czy wystarczą takowe skrypty ?
 
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, ITEM_MAGIC_WALL)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)

local c = {
frompos = {x=2202, y=2226, z=8},
topos = {x=2247, y=2261, z=8},
}

function onCastSpell(cid, var)
if not isInArea(getPlayerPosition(cid), c.frompos, c.topos) then
return doCombat(cid, combat, var)
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Niemozliwe w czasie tego eventu.")
end
end
 
Back
Top