• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Vocation quest

Zorenia

Hoster of Zorenia
Joined
Jan 21, 2009
Messages
598
Reaction score
64
Location
The Netherlands
Hello people!

I was wondering if anybody can help me out, I'm searching for a script that makes it possible that players have to do a couple of missions by talking with a NPC.
After completing the missions he will get his vocation.

I put this npc in rookgaard, so players have to do some missions to obtain a vocation.
 
function onUse(cid,item,fromPosition,itemEx,toPosition)
if getPlayerVocation(cid) ~= 9 then
doPlayerSetVocation(cid,9)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Agora sua vocation é DareDevil")
else
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Você ja é um DareDevil.")
end
return TRUE
end

tag em actions or unicid...

changer if getPlayerVocation(cid) ~= X then
doPlayerSetVocation(cid,X)
 
Back
Top