ghettobird
LUA newbie
Whattup otlanders, i'm here today to give you my marijuana script (it's just 4 fun
)
well, let's start
actions/scripts
PS: if someone can tell me how to make the player DRUNK after he uses it that would be awesome, i searched everywhere couldn't find a way. anyway good luck hope it helps
eace:
well, let's start
actions/scripts
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
doCreatureSay(cid, "Smoked some marijuana..." ,TALK_TYPE_ORANGE)
doCreatureAddHealth(cid,-5)
doCreatureAddMana(cid, -5)
doSendAnimatedText(getCreaturePosition(cid), "THE MARIJUANA... ITS GETTING TO ME!",TEXTCOLOR_LIGHTGREEN)
return true
end
PS: if someone can tell me how to make the player DRUNK after he uses it that would be awesome, i searched everywhere couldn't find a way. anyway good luck hope it helps