plik test.lua
function onEquip(cid, item, slot)
if(item.itemid == 2124) and (slot == ring) then
getTilePzInfo(cid == 1) 1 is pz. 0 no pz. -- Returns the protection zone status of a tile 25
end
return 1
end
if(item.itemid == 2124) and (slot == ring) then
getTilePzInfo(cid == 1) 1 is pz. 0 no pz. -- Returns the protection zone status of a tile 25
end
return 1
end
<movevent event="Equip" itemid="2124" slot="ring" value="test.lua"/>
function onEquip(cid, item, slot)
if(item.itemid == 2124) then
getTilePzInfo(pos) 1 is pz. 0 no pz. -- Returns the protection zone status of a tile 25
end
return 1
end
if(item.itemid == 2124) then
getTilePzInfo(pos) 1 is pz. 0 no pz. -- Returns the protection zone status of a tile 25
end
return 1
end
Zakładki