elo mam skrypt na transform ale co mam zrobic zeby z tym transem dochodzilo 10 k hp i many ??
Kod:
function onSay(cid, words, param)
goku = {lookType=31}
if getPlayerVocation(cid) == 1 then
if getPlayerLevel(cid) >= 30 then
doPlayerSetVocation(cid,2)
doPlayerAddHealthMax(cid, 10000)
doPlayerAddManaMax(cid, 10000)
doCreatureChangeOutfit(cid, goku)
doSendMagicEffect(getPlayerPosition(cid), 8)
else
doPlayerSendCancel(cid, "Goku! You need 30 level to transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- End ---
else
doPlayerSendCancel(cid, "Sorry.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
end