• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

I need a vocation script

Mozax

New Member
Joined
Jun 12, 2009
Messages
26
Reaction score
0
Location
in a house lol -.-
hey sup guyz
i really need a script
that when u click on a sorten item
it automatically gives the player a vocation
+ items
:peace:


im out cya n thx
 
This is not the Request/Support forum, So learn to post in the right area.

Code:
-- Made by Delconis

local vocation = "1" -- What vocation to set them as
local reward = "1111" -- What item to give them
local amount = "1" -- amount of items to give 

function onUse(cid, item, fromPosition, itemEx, toPosition)
	doPlayerSetVocation(cid,voc)
	doPlayerAddItem(uid, reward, amount)
	return true
end
 
well thx and srry if i posted it wrong c(:
but one more question ;/
where should i put the location of the item or the item id? "that u click"
thx bro
 
Back
Top