Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArgs = {...}
- returning = false
- function Initiate()
- local h = fs.open("info","w")
- h.writeLine("x="..x..";")
- h.writeLine("y="..y..";")
- h.writeLine("z="..z..";")
- h.writeLine("f="..f..";")
- h.writeLine("returning="..returning..";")
- h.close()
- end
- if #tArgs == 4 then
- x=tArgs[1]
- y=tArgs[2]
- z=tArgs[3]
- f=tArgs[4]
- elseif #tArgs == 3 then
- error("setCoords [x] [y] [z] [f]")
- else
- x, y, z, f = 0, 0, 0, 0
- end
- Initiate()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement