Alyhide
Banned User
Hello, I am here to see if I have increased my scripting abilities at all.. Here are some simple scripts I made..
11/26/2010 || 1:30 AM
11/26/2010 || 1:41 AM
11/26/2010 || 1:30 AM
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerLevel(cid) >= 100 then
doPlayerSendTextMessage(cid,21,"Congratulations!")
doPlayerAddMana(cid,500)
doPlayerAddHealth(cid,500)
else
doPlayerSendCancel(cid,"Sorry, Try Gaining Some Levels!"
doPlayerPopupFYI(cid, "Gain Levels By Hunting or Exploring New Islands!")
end
return TRUE
end
11/26/2010 || 1:41 AM
Lua:
function onStepIn(cid, item, frompos, itemEx, topos)
doPlayerSendTextMessage(cid,21,"Welcome To Avian!"
end
Last edited: