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
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
----------------------------
-- Aimableweapons by FN_Linkin Park
-- For more info. visit: Unrealsoftware.de
-- Don't Steal this!
----------------------------
-- image and time
timer(120,"requestdata","",0)
addhook("spawn","aim")
function aim(id)
	freeimage(id)
	img = image("gfx/scope.png",player( id, "x"), player( id, "y"),3,id)
end
-- Request data
function requestdata()	
reqcld(0,2)
end
-- In coming data
addhook("clientdata","mycursordata")
function mycursordata(id,mode,x,y)
	if (mode == 2) then
			tween_move(img,120,x,y)
		end
	end
edited 2×, last 24.04.11 08:28:01 pm
Bad argument #1 to tween_move(number expected got
1 
Offline