Jump to content
  • 0

How to know if a player has a specific skill?


Question

5 answers to this question

Recommended Posts

Posted

example is in renting a mado required a license skills

if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) {

atcommand "@mount";

close;

Posted

What is the file of renting mado? I cant find it in the scripts.

Thank you!

example is in renting a mado required a license skills

if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) {

atcommand "@mount";

close;

Posted (edited)

This is not mine but im going to share it

prontera,162,179,5 script Magic Gear Master 105,{

mes "[Magic Gear Master]";

mes "Hi, here you can rent Magic Gears from me.";

next;

switch(select("Magic Gear:No Thanks")) {

case 1:

if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) {

atcommand "@mount";

close;

}else{

mes "[Magic Gear Master]";

mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";

close;

}

case 2:

close;

}

}

- credits to eAthena

Edited by GM Takumirai

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...