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
money={}
addhook ("kill","killn")
function killn(id)
if (player(id,"money")==16000) then
money[id] = money[id] + 300
kack(id)
end
end
addhook ("second","sec")
function sec()
for i=1,32 do
if (player(id,"exists")) then
if (player(id,"money")<16000) then
check = 16000 - player(id,"money")
if money[id]>=check then
money[id] = money[id] - check
parse ("setmoney "..id.." "..(player(id,"money")+check))
kack(id)
end
end
end
end
end
function kack(id)
txt = ("kack Geld:"..money[id])
x = deinx
y = deiny
hudid = 1
parse("hudtxt2 "..id.." "..hudid.." "'..txt..'" "..x.." "..y)
end