Stránka 1 z 1

Presun tezkeho itemu + drop

Napsal: 26 črc 2010 22:19
od Wizzy
Download vsech skriptu mnou uvedenych: http://dl.dropbox.com/u/7651700/fena/wizzy.cs
Objects.dll: http://dl.dropbox.com/u/7651700/fena/Objects.dll



,exec turbomove
- zatargetite item a ten se kazdych 500ms hodi pod vas (posun tezkych itemu bez ztraty staminy)
- 500 ms = pokud pobezite moc rychle, utecete mu :p
- vypina se pres terminate all

,drp
- dropne 1 kus zatargetenho itemu pod vas

Kód: Vybrat vše

[Executable]
public void turbomove()
{
    UO.Print(SpeechFont.Bold, 0x0481, "Zamer cil");
    UOItem item = World.GetItem(UIManager.TargetObject());
    while (true)
    {
        UO.MoveItem(item, 1, World.Player.X, World.Player.Y, World.Player.Z);
        UO.Wait(500);
    }

}

[Command]
public void drp()
{
    UO.Print(0x0481, "Zamer co chces dropnout");
    UOItem item = World.GetItem(UIManager.TargetObject());
    UO.MoveItem(item, 1, World.Player.X, World.Player.Y, World.Player.Z);
}