Gondolom Zero modot használsz.
faction-system > s_duty_commands
Ezt kell keresned:
pdColShape = createColSphere( x, y, z, 5)
exports.pool:allocateElement(pdColShape)
setElementDimension(pdColShape, dimenzió)
setElementInterior(pdColShape, interior)
Átírod a koordinátákat, valamint az interiort és a dimenziót és máris működik.
Na most, látod ezeket a sorokat:
if (isElementWithinColShape(thePlayer, pdColShape)) then
Itt be kell szúrnod a sajátodat pl:
if (isElementWithinColShape(thePlayer, pdColShape)) or (isElementWithinColShape(thePlayer, pdColShape15)) then
Ha saját dimenziókba akarod, akkor így:
if (isElementWithinColShape(thePlayer, pdColShape)) or (isElementWithinColShape(thePlayer, pdColShape15)) and ( getElementDimension(thePlayer) == 551) then