Hi,
This is my first script , i dont know if it works, im at school so i can't test it
Comment :O
This is my first script , i dont know if it works, im at school so i can't test it
Code:
function onStepIn(cid, item, frompos, itemEx, topos)
local temple = {
pos = {x = XXX, y = XXX, z = XXX}
if isPlayerPzLocked(cid) then
doPlayerSendTextMessage(cid,21,"Loose battle icon first plox.")
else
doCreatureSay(itemEx.uid, "+60", TALKTYPE_ORANGE_1)
doCreatureAddHealth(cid, 60)
end
return TRUE
end
Comment :O