• 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!

Solved getVocationInfo(id)

VirrageS

←•†ĿuĀ && ©¤¤•→
Joined
May 30, 2010
Messages
984
Reaction score
63
Location
Poland
Hello

How in title I need to know how i can get vocation name by id using this feature > "getVocationInfo(id)" (or antoher if exist).

Thanks and rep++ for helping :thumbup:
 
Last edited:
Hmm can you show me example??

It will looking like this:

Code:
if (getVocationInfo(4).name) == knight then ..

or in text:
Code:
doPlayerSendTextMessage(cid, 22, "Your vocation: "..(getVocationInfo(4).name).."!")
 
iboth are correct but change
Code:
if getVocationInfo(4).name == knight
to
Code:
if getVocationInfo(4).name ==[B][I][U]"[/U][/I][/B] [B][I][U][COLOR="red"]K[/COLOR][/U][/I][/B]night [B][I][U]"[/U][/I][/B]
k capital and between qotes
 
Back
Top