I´m trying to use this script
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
return setCreatureMaxHealth(cid, 200)
end
so that when a player steps on a certain tile their max health is set to 200 but it´s not working, any suggestions_