Yoko

All sides of Injection
It is currently 2025-12-26 10:10:52

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Координаты
PostPosted: 2007-09-12 21:39:48 
Offline
User avatar

Joined: 2006-05-23 11:48:22
Posts: 145
Если кто еше жив на этом форуме.Нужна помощь в написания скрипта.Я бы хотел чтобы мой скрипт поределял координаты чара и потом их выводил в Гс чат. Все написал появилась прабла с гс чатом , что бы туда вывести надо поставить \ .Если я его добовляю вперед вывода координат ! коордианты выдают 0.0000000000 и цикляться.Пршу помоши вот собтвенно скрипт.

Code:

sub HELP()
VAR a,b
a=UO.GetX()
b=UO.GetY()
uo.say(STR ("\",a)+ "Po X"); А вот и слеш
wait(300)
uo.say(STR(b )+" po Y")
end sub


без слеша все идально.НО СЛЕШ нужен полюбому в переди месаги чтобы все отправить в Гс чат.

_________________
Если бы Бог хотел, чтобы человек всегда думал головой, он создал бы Колобка...


Top
   
 Post subject:
PostPosted: 2007-09-14 09:20:18 
Offline

Joined: 2004-10-19 16:25:45
Posts: 95
uo.say("\"+STR (a)+ "Po X")


Top
   
 Post subject:
PostPosted: 2007-09-14 19:06:39 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
sub Coordinates_To_Guild()
  uo.Say('X : ' + str(uo.GetX("self"))+' Y: '+ str(uo.GetY("self")))
end sub


tested


Top
   
 Post subject:
PostPosted: 2007-09-15 03:00:29 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Scripts Writer wrote:
Code:
sub Coordinates_To_Guild()
  uo.Say('X : ' + str(uo.GetX("self"))+' Y: '+ str(uo.GetY("self")))
end sub


tested

Загнул.
Code:
uo.say( "X: " + str( uo.getX() ) + ", Y:" + str( uo.getY() ) )

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2007-09-15 11:54:59 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Прекрасно работает хотя мб написал немного не рационально :)


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 7 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:  
Powered by phpBB® Forum Software © phpBB Limited