wafuboe
Active Member
- Joined
- Dec 24, 2010
- Messages
- 884
- Solutions
- 2
- Reaction score
- 26
well i get this script from here but, i wish this trap could exhaust the one who steps in
so i need to, the one who steps the traps its unmoveable for 4 segs and ALSO EXHAUSTED FOR 4 SEGS
add the exhaustion
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
doCreatureSetNoMove(cid, true)
doSendMagicEffect(getCreaturePosition(cid), 31)
doCreatureSay(cid, "STUNNED!", TALKTYPE_RED_1)
addEvent(doCreatureSetNoMove, 1000*4, cid, false)
doRemoveItem(item.uid)
return true
end
TY
so i need to, the one who steps the traps its unmoveable for 4 segs and ALSO EXHAUSTED FOR 4 SEGS
add the exhaustion
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
doCreatureSetNoMove(cid, true)
doSendMagicEffect(getCreaturePosition(cid), 31)
doCreatureSay(cid, "STUNNED!", TALKTYPE_RED_1)
addEvent(doCreatureSetNoMove, 1000*4, cid, false)
doRemoveItem(item.uid)
return true
end
TY