June 29, 20187 yr Why cannot use int idMount in next command: ItemsManager.UseItem(idMount); If I do it Ive error:
June 29, 20187 yr Author 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
June 29, 20187 yr Author 7 minutes ago, Droidz said: use like this ItemsManager.UseItem((uint)idMount); (or uint idMount = 0;) Thank you , Droidz
Create an account or sign in to comment