ghettobird
LUA newbie
Hey otlanders, i'm sorry if i'm making too much threads but i'm just excited that i understand how scripting is now, at first i looked at this and said "oh crap that's one language i'll never understand" anyways i hope you will like it
PS: i'm not sure if it will work i didn't have any time to test it cus i can't download any more files (i'm on my old laptop so not much space) so i can't download uniserv to test it sorry
post bugs here! eace:
Lua:
local add_skill,amount = SKILL_MAGIC,1
function onUse(cid, item, fromPosition, itemEx, toPosition)
doPlayerAddSkill(cid, add_magicl, 1)
doCreatureSay(cid, "MAGIC LEVEL UP", TALKTYPE_ORANGE_1)
doRemoveItem(item.uid, 1)
end
PS: i'm not sure if it will work i didn't have any time to test it cus i can't download any more files (i'm on my old laptop so not much space) so i can't download uniserv to test it sorry
post bugs here! eace:
Last edited: