Reaper7
dunno wat 2 rite here
- Joined
- Feb 18, 2011
- Messages
- 133
- Reaction score
- 1
simple script, not much to talk about - when you use a switch, player becomes a tutor (level 500 required).
And this:
Regards =)
Code:
--[[
Script by Elff/Reaper7
]]
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 1945 and getPlayerLevel(cid) >= 50 then
setPlayerGroupId(cid, 2)
doPlayerSendTextMessage(cid,22,"Well done, you're a tutor now!")
doTransformItem(item.uid, item.itemid + 1)
else
doPlayerSendCancel(cid,"You don't have the required level to use this."
end
return TRUE
end
And this:
Code:
<action actionid="eg. 5236" event="script" value="Tutorquest.lua"/>
Regards =)