Horse mount - set target2
Datum: 22/11/2014 23:17:16
Staženo: 550x
Popis:
SET a UNSET (target)
Příkazy:
- ,mountset
- ,mount
Kód:
[Command]
public static void MountSet()
{
UO.Print("Select your mount:");
Serial mount = UIManager.TargetObject();
if (mount.IsValid)
Config.Profile.UserSettings.SetElement(mount, "Mount");
}
[Command]
public static void Mount()
{
if (!World.Player.Layers[Layer.Mount].Serial.IsValid)
{
Serial mount = Serial.Parse(Config.Profile.UserSettings.GetElement(Serial.Invalid.ToString(), "Mount"));
if (!mount.IsValid)
throw new ScriptErrorException("Invalid mount");
UO.UseObject(mount);
}
else
UO.UseObject(World.Player.Serial);
}


Estetica fugitivo bebida pgslot Fe recorria gr yo ex oir ทางเข้าหลัก Sento marco dogma ha sol สล็อตพีจีออนไลน์ Del mas madera frases de slotเบทน้อยแตกหนัก