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

Request Bomberman... Powerups dont work

Johannes10

New Member
Joined
Mar 10, 2010
Messages
181
Reaction score
1
My Powerups dont work here is the script

Someone help me please!!

The Forgotten Server, version 0.3.6 (Crying Damson)


local haste = createConditionObject(CONDITION_HASTE)
setConditionParam(haste, CONDITION_PARAM_TICKS, 10000)
setConditionFormula(haste, 8.7, -120, 8.7, -120)

local t = { --your t from talkaction's
from = {x=1177, y=807, z=7},
to = {x=1191, y=817, z=7},
storage = {
max = 10002,
radius = 10003
}
}
function onStepIn(cid, item, pos, fromPos)
if isInRange(pos, t.from, t.to) then
if item.itemid == 8304 then
local n = getPlayerStorageValue(cid, t.storage.max)
if n < 3 then
doSendAnimatedText(getCreaturePosition(cid), '+Bomb', TEXTCOLOR_DARKYELLOW)
setPlayerStorageValue(cid, t.storage.max, n + 1)
doRemoveItem(item.uid)
doSendMagicEffect(pos, CONST_ME_FIREATTACK)
else
doRemoveItem(item.uid)
doSendMagicEffect(pos, CONST_ME_FIREATTACK)
end
elseif item.itemid == 8306 then
doSendMagicEffect(pos, CONST_ME_GROUNDSHAKER)
doSendAnimatedText(getCreaturePosition(cid), '+Faster', TEXTCOLOR_DARKYELLOW)
doAddCondition(cid, haste)
doRemoveItem(item.uid)
elseif item.itemid == 8310 then
local n = getPlayerStorageValue(cid, t.storage.radius)
if n < 4 then
doSendAnimatedText(getCreaturePosition(cid), '+Area', TEXTCOLOR_DARKYELLOW)
setPlayerStorageValue(cid, t.storage.radius, n + 1)
doRemoveItem(item.uid)
doSendMagicEffect(pos, 3)
else
doRemoveItem(item.uid)
doSendMagicEffect(pos, 3)
end
end
end
end
 
Back
Top