Forum
Scripts
Script with "Second"
Script with "Second"
25 replies1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---VARIABLES---
min_dis = 3
dis = 0
---------
addhook("minute","rand_dis")
function rand_dis()
dis = dis + 1
if dis == min_dis then
dis = 0
rand_dis1 = 1
end
end
---
Hm, make this, but script won't work though...
edited 1×, last 27.06.12 07:00:04 am
J4x's code works on a smaller scale (with a second hook), so I don't see why it wouldn't work on its proper scale. 1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
test()
function test()
	print("Test")
end
--The above won't work
--This, however, will:
function test()
	print("Test")
end
test()



Offline