ryonaa
New Member
- Joined
- Feb 28, 2010
- Messages
- 24
- Reaction score
- 0
this is the ice cream script
Now i need that the pots heal u more mana
i I think it is adding the storagevalue of the icecream to the pots scripts!
PLX HELP
PHP:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 5999 then
icecreamstatus = getPlayerStorageValue(cid,5999)
if icecreamstatus == -1 then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"Now you gain more Mana with the Pots!")
setPlayerStorageValue(cid,5999,1)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You had already eaten an ice regeneration!")
end
Now i need that the pots heal u more mana
i I think it is adding the storagevalue of the icecream to the pots scripts!
PLX HELP