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
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
---------------------- -- Initial Setup -- ---------------------- function initArray(m) local array = {} for i = 1, m do array[i]=0 end return array end ms.money=initArray(32) function ms.moneyshow(id) parse('hudtxt2 '..id..' 1 "©255255000# Points: ©255255255'..ms.money[id]..' " 7 140') end addhook("spawn","ms.spawn") function ms.spawn(id) ms.moneyshow(id) end addhook("kill","ms.kill") function ms.kill(id) ms.money[id]=ms.money[id]+1 ms.moneyshow(id) end addhook("die","ms.die") function ms.die(id) ms.money[id]=ms.money[id]-0 ms.moneyshow(id) end
I want some thing from scott
how to restart our points and make it 0 like !resetpoints and then our points restart and be 0 again... anyone can answer me ?
edited 1×, last 18.01.17 04:59:00 pm