redbull915
I learn...
Is someone can check my script? Because my engine is not running!
this is code
And this from my Engine ss.
plz help me.
this is code
Code:
function onStepOut(cid, item, pos)
local monster1pos = {x=191, y=124, z=7} -- Pozycja 1 monstera
local monster2pos = {x=191, y=126, z=7} -- Pozycja 2 monstera
local monster1 = getThingfromPos(monster1pos)
local monster2 = getThingfromPos(monster2pos)
local efekt = 53 -- Efekt
local ile_hp1 = 2400000 -- Ile hp ma potwor 1
local ile_hp2 = 2400000 -- Ile hp ma potwor 2
doCreatureAddHealth(monster1, -ile_hp1)
doCreatureAddHealth(monster2, -ile_hp2)
doSendMagicEffect(monster1pos, efekt)
doSendMagicEffect(monster2pos, efekt)
end
plz help me.