Yoko
http://forum.yoko.com.ua/

problem with writeln()
http://forum.yoko.com.ua/viewtopic.php?f=3&t=3642
Page 1 of 1

Author:  hobbit [ 2005-04-10 10:07:09 ]
Post subject:  problem with writeln()

Code:
sub coord()
var MX=uo.getx()
var MY=uo.gety()
var MZ=uo.getz()
var ft = file("c:\progra~1\uoam\mapy.txt")
ft.open()
ft.writeln(str(MX)+","+str(MY)+","+str(MZ))
ft.close()
end sub

this script writes coordinates to file but:
its always rewrites first line of file - how to add new line and write coordinates to this?

mny thnx

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/