@suboras
eu tinha feitu uma piorzinha pq dava pra spamar e naum aumentava tipu food
mas eu metu ai:
------ Bed System 0.1 by Colex -----function onUse(cid, item, frompos, item2, topos)nivel = math.random(1,400)if nivel > 1 and nivel < 100 thendoSendMagicEffect(topos,12)doPlayerSendTextMessage(cid,22,"Good Night")doPlayerSay(cid,"Ohhhhhhhh!!!",16)doPlayerAddHealth(cid,100)doPlayerAddMana(cid,100)doPlayerSendTextMessage(cid,22,"You Have Slept 5 hours")elseif nivel > 101 and nivel < 200 thendoSendMagicEffect(topos,14)doPlayerSendTextMessage(cid,22,"Good Dreams")doPlayerAddHealth(cid,200)doPlayerAddMana(cid,150)doPlayerSay(cid,"Ohhhhhh!!",16)doPlayerSendTextMessage(cid,22,"You Have Slept 10 hours")elseif nivel > 201 and nivel < 300 thendoSendMagicEffect(topos,14)doPlayerSendTextMessage(cid,22,"Good Dreams")doPlayerSay(cid,"Ohh!!too fuckin noise, I cant sleep",16)doPlayerSendTextMessage(cid,22,"You did not sleep this night")elseif nivel > 301 and nivel < 400 thendoSendMagicEffect(topos,14)doPlayerSendTextMessage(cid,22,"Sleep like a Baby")doPlayerAddHealth(cid,50)doPlayerAddMana(cid,50)doPlayerSay(cid,"Ohhhhhh!!!",16)doPlayerSendTextMessage(cid,22,"You Have Slept 2 hours")endreturn 1end