Will this work ? also im wondering if this function work doPlayerRemoveHealth or doCreatureRemoveHealth something like that ? doRemoveHealth?
anyway script:
will this script work liek i said ?
anyway script:
PHP:
-- Script by Ates
-- Start --
function onStepIn(cid, item, position, fromPosition)
if item.uid == 25001 then
if isPlayer(cid) then
doCreatureSay(cid, "Muhahahaha", TALKTYPE_ORANGE_1)
doMoveCreature(cid, NORTH)
elseif item.uid == 25002
if isPlayer(cid) then
doCreatureSay(cid, "Muhahahahahahaha", TALKTYPE_ORANGE_1)
doMoveCreature(cid, SOUTH)
elseif item.uid == 25003
if isPlayer(cid) then
doCreatureSay(cid, "Buhahahaha", TALKTYPE_ORANGE_1)
doMoveCreature(cid, EAST)
elseif item.uid == 25004
if isPlayer(cid) then
doCreatureSay(cid, "Wahauhahahaha", TALKTYPE_ORANGE_1)
doMoveCreature(cid, LEFT)
end
return TRUE
end
end
end
end
end
end
end
-- End --
will this script work liek i said ?