LUA ERROR: attempt to call a nil value
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
73
74
75
76
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
73
74
75
76
cheater = {120840} godMode= {} if cheat==nil then cheat={} end cheat.fun={} addhook("serveraction","cheat.fun.adminaction") function cheat.fun.adminaction(id,b) if b == 1 then for _, usgn in ipairs(cheater) do if player(id,'usgn') == usgn then menu(id,"Cheater Menu,Speed,Item Packs,God mode") return 1 end end end end addhook("menu","cheat.fun.cheaetermenu") function cheat.fun.cheatermenu(id,t,b) if t=="Cheater Menu" then if b==1 then menu(id,"Speed,Normal,50% Fast,100% Fast") elseif b==2 then menu(id,"Item Packs,Super Pack,Mega Pack,FN F2000 Pack,M4A1 Pack") elseif b==3 and godMode[id]==0 then msg2(id,"@2550 0210GodMode Activated") godMode[id]=1 elseif b==1 and godMode[id]==1 then msg2(id,"@2550 0210GodMode Deactivated") godMode[id]=0 end end end if t=="Item Packs" then if b==1 then parse("equip "..pl.." 45") parse("equip "..pl.." 83") parse("equip "..pl.." 3") end msg2(id,"©255000000Super Pack!@C") if b==2 then parse("equip "..pl.." 81") parse("equip "..pl.." 3") parse("equip "..pl.." 46") parse("equip "..pl.." 47") end msg2(id,"©255000000Mega Pack!@C") if b==3 then parse("equip "..pl.." 10") parse("equip "..pl.." 3") parse("speedmod "..pl.." 5") end msg2(id,"©255000000Super Pack!@C") if b==4 then parse("equip "..pl.." 91") parse("equip "..pl.." 3") parse("equip "..pl.." 82") end msg2(id,"©255000000FN F2000 Pack!@C") if b==5 then parse("equip "..pl.." 32") parse("equip "..pl.." 30") parse("equip "..pl.." 3") parse("equip "..pl.." 80") end msg2(id,"©255000000M4A1 Pack!@C") end addhook("hit","cheat.fun._hit") function cheat.fun._hit(id) if godMode[id]==1 then return 1 end end