1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
train = {{},n = 0,img = "sys/lua/RolePlay/gfx/train.png",railimage = "sys/lua/RolePlay/gfx/rail.png"} function image(path,x,y,l,p) 	local img = _image(path,x,y,l,p) 	table.insert(images[1],path) 	table.insert(images[2],img) 	return img end function train.create(x,y,rot,back,c21,c22,c23,c31,c32,c33,c41,c42,c43,c51,c52,c53,c61,c62,c63,c71,c72,c73,c81,c82,c83,c91,c92,c93,c101,c102,c103,img,b) 	if not img or img == "normal" or img == "standart" then img = train.img end 	if not back then back = false end 	if not c31 then c31 = c21 end 	if not c32 then c32 = c22 end 	if not c33 then c33 = c23 end 	if not c41 then c41 = c31 end 	if not c42 then c42 = c32 end 	if not c43 then c43 = c33 end 	if not c51 then c51 = c41 end 	if not c52 then c52 = c42 end 	if not c53 then c53 = c43 end 	if not c61 then c61 = c51 end 	if not c62 then c62 = c52 end 	if not c63 then c63 = c53 end 	if not c71 then c71 = c61 end 	if not c72 then c72 = c62 end 	if not c73 then c73 = c63 end 	if not c81 then c81 = c71 end 	if not c82 then c82 = c72 end 	if not c83 then c83 = c73 end 	if not c91 then c91 = c81 end 	if not c92 then c92 = c82 end 	if not c93 then c93 = c83 end 	if not c101 then c101 = c91 end 	if not c102 then c102 = c92 end 	if not c103 then c103 = c93 end 	if b == true then b = false elseif b == nil then b = false elseif b == false then b = true end 	train.n = train.n + 1 	local id = train.n 	train[id] = { 		p1 = 0, 		p2 = 0, 		p3 = 0, 		p4 = 0, 		x = x * 32 + 16, 		y = y * 32 + 16, 		img = img, 		sp = 1, 		t = 0, 		tr = false, 		tx = x, 		ty = y, 		rot = rot, 		back = false, 		ticket = back, 		c1 = {x,y,rot}, 		c2 = {c21,c22,c23}, 		c3 = {c31,c32,c33}, 		c4 = {c41,c42,c43}, 		c5 = {c51,c52,c53}, 		c6 = {c61,c62,c63}, 		c7 = {c71,c72,c73}, 		c8 = {c81,c82,c83}, 		c9 = {c91,c92,c93}, 		c10 = {c101,c102,c103}, 		didrails = false, 		railimgs = {}, 		tsa = b 	} 	train[id].img = image(train[id].img,x * 32 + 16,y * 32 + 16,3) 	imagepos(train[id].img,train[id].x,train[id].y,train[id].rot) end
Anyone can me help how configure this train lua code?
i wanna setup onto my server but i really can't config it!