Yoko

All sides of Injection
It is currently 2024-03-28 10:26:01

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2015-10-11 22:32:40 
Offline
User avatar

Joined: 2015-10-05 20:04:13
Posts: 5
Дайте пожалуйста скрипт на кидания таргета через id
что бы кидал таргет только на того кого я добавлю в список врагов

_________________
thin line 'tween heaven and here.


Top
   
PostPosted: 2015-10-29 09:41:51 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
I'iwi wrote:
Дайте пожалуйста скрипт на кидания таргета через id


В Autosart добавь переменную
Code:
uo.setglobal("Target", 0)

Скрипт
Code:
sub Target()
   var id
   dim Player[5]
   Player[0] = "ID игрока" ; Player Name
   Player[1] = "ID игрока" ; Player Name
   Player[2] = "ID игрока" ; Player Name
   Player[3] = "ID игрока" ; Player Name
   Player[4] = "ID игрока" ; Player Name
   id = Player[val(uo.getglobal("Target"))]
   uo.set("lasttarget", id)
   if val(uo.getglobal("Target")) < 4 then
      uo.setglobal("Target", val(uo.getglobal("Target")) + 1)
   else
      uo.setglobal("Target", 0)
   end if
end sub

_________________
CodeSweeper


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 6 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