Jump to content

Recommended Posts

int idMount = 0;


if(ObjectManager.Me.PlayerRace == PlayerFactions.Human ||
ObjectManager.Me.PlayerRace == PlayerFactions.Dwarf||
ObjectManager.Me.PlayerRace == PlayerFactions.NightElf ||
ObjectManager.Me.PlayerRace == PlayerFactions.Gnome)
    idMount = 25472;

        
//use mount id for add it in the spellbook
for(int i = 0; i < 4; i++)
{
    ItemsManager.UseItem(idMount); 
    Thread.Sleep(Usefuls.Latency + 1000);
}

It's one of the parts a code

Link to comment
https://wrobot.eu/forums/topic/9666-error/#findComment-44937
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...