Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
function onStepIn(cid, item, position, fromPosition)
if isMonster(cid) == 1 then
efect = 40
doRemoveCreature(cid)
doSendMagicEffect(topos, efect)
end
return TRUE
end
function onStepIn(cid, item, position, fromPosition)
smokepos = {x=here, y=here, z=here, stackpos=253}
smoke = getThingfromPos(smokepos)
if isMonster(smoke) == 1 then
doRemoveCreature(smoke)
end
end
replace 'here' with your co-ords where the smoke field is.
function onStepIn(cid, item, pos, fromPosition)
pos = getCreaturePosition(cid)
smoke = getThingfromPos(pos)
if isMonster(smoke) == 1 then
doRemoveCreature(smoke)
end
end
function onStepIn(cid, item, position, fromPosition)
creature = getThingfromPos(position)
if isPlayer(creature.uid) == FALSE then
doRemoveCreature(creature.uid)
end
return TRUE
end
The Forgotten Server do not have the isMonster function.
Try my original script, that will work.
Code:
function onStepIn(cid, item, position, fromPosition)
creature = getThingfromPos(position)
if isPlayer(creature.uid) == FALSE then
doRemoveCreature(creature.uid)
end
return TRUE
end