• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Action Tutor Quest

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).

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 =)
 
simple script, not much to talk about - when you use a switch, player becomes a tutor (level 500 required).

level 50 and above
Lua:
 if item.itemid == 1945 and getPlayerLevel(cid) >= 50 then
 
Back
Top