Witam, mam skrypt na revert, kt?ry dzia?a w 100%, ale gdy dodaj?:
?eby po tym jak wpisz? revert odj??o mi od maksymalnej ilo?ci many i hp okre?lon? liczb? to ju? nie dzia?a.
O to skrypt:
Dzia?am na silniku DevLand-XML_0.97b_
Prosz? o pomoc!
Pozdrawiam!
Code:
doPlayerAddHealthMax(cid, -200)
doPlayerAddManaMax(cid, -100)
O to skrypt:
Code:
function onSay(cid, words, param)
if getPlayerVocation(cid) == 19 then ---Ichigo
doPlayerSetVocation(cid, 2)
doPlayerAddHealthMax(cid, -200)
doPlayerAddManaMax(cid, -100)
local outfit = { lookType = 30 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0}
doSetCreatureOutfit(cid, outfit, -1)
doSendMagicEffect(getCreaturePosition(cid), 13)
doPlayerSendCancel(cid, "You revert!")
else
doPlayerSendCancel(cid, "You can not revert.")
end
end
Prosz? o pomoc!
Pozdrawiam!