Could someone give me a hand doing this npc after the player talk to him, it checks whether the player is to mount possessed with the item "Rein" and remove the mount of player
prontera,150,150,5 script Montaria 120,{
mes "Olá, gostaria de retirar a montaria ??";
switch(select("Sim:Não")){
case 1:
if(checkmount()){
setmount();
next;
mes "Prontinho!!";
close;
end;
}
next;
mes "Você não está montando!!";
close;
end;
case 2:
mes "Ok!";
close;
end;
}
}
mes "Olá, gostaria de retirar a montaria ??";
switch(select("Sim:Não")){
case 1:
if(checkmount()){
setmount();
next;
mes "Prontinho!!";
close;
end;
}
next;
mes "Você não está montando!!";
close;
end;
case 2:
mes "Ok!";
close;
end;
}
}