Yoko

All sides of Injection
It is currently 2026-01-23 00:42:37

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2007-03-08 07:09:11 
Offline

Joined: 2006-08-12 15:42:02
Posts: 36
Code:
# "Боевая лошадь"
sub PVP_Horse()
     var Horse='0x001B2BA8' # Вписываем сюда ID лошади
     If UO.ObjAtLayer('Horse') Then
             UO.useobject('self')
            wait(100)
            UO.WaitTargetObject('laststatus')
            UO.MSG('ААААА!!!ЖГИ СцуКо!')
             UO.MSG('all kill')
     Else   
             UO.MSG('all come')
             UO.WarMode(0)
             wait(100)
             UO.Useobject('Horse')
             UO.WarMode(0)
     End If
end sub


Нужно чтоб при повторном нажатии чар садился на лошадь.


Top
   
 Post subject:
PostPosted: 2007-03-08 09:54:12 
Offline
User avatar

Joined: 2006-04-02 11:33:38
Posts: 91
Code:
sub horse() 
 
  var Horse='0x001189B4' ; Сюда ID лошади
  If NOT UO.ObjAtLayer('Horse') Then
    UO.UseObject(Horse)
  Else
    UO.UseObject('self')
    uo.waittargetobject('laststatus')
    uo.say("all kill")
  EndIf
end sub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited