• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Quest for 200 HP

pansuchar

Member
Joined
Dec 29, 2008
Messages
68
Reaction score
5
Hi all.
I need script for 200 HP quest.
Chest => open => pernament +200HP
thanks!
 
Im not sure if this is gonna work but whatever, lets give it a try i guess
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerStorageValue(cid, 39282) -1 then
doCreatureAddMaxHealth(cid, 200)
doCreatureSay(cid, "You recieved 200 health! Your new health is ".. getPlayerMaxHealth(cid) .."!", 19)
doSetPlayerStorageValue(cid, 39282)+1
elseif getPlayerStorageValue(cid, 39282)+1 then
doCreatureSay(cid, "You already used this once!", 19)
end
return true
end
@pansuchar Message back with errors cause i doubt this one will work
 
Back
Top