
Can you Help Me?
Here the F2 and F3 Menu (only a part)
Spoiler 

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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
addhook([[serveraction]],[[rp_action]])
function rp_action(id,a)
if a == 1 then
if drop_system_m == 1 then
menu(id,[[Drop System,$100,$500,$1000,$5000,$10000,$50000,$100000,Drop Item|Only Licensed,]])
else
rp_msg2(id,[[255000000]],[[Drop System is OFF!@C]])
end
elseif a == 2 then
if rp_ct[id]==true then
menu(id,[[CT Menu,Equip,Settings,Normal Build,Neutral Build,Teleport,License System,Commands,Create...,Jobs,]])
else
menu(id,[[T Menu,Equip,Teleport,Jobs,]])
end
elseif a == 3 then
if rp_ct[id]==true then
local rot = player(id,[[rot]])
if rot < -90 then rot = rot + 360 end
local angle = math.rad(math.abs( rot + 90 )) - math.pi
local x = player(id,[[x]]) + math.cos(angle) * 10
local y = player(id,[[y]]) + math.sin(angle) * 10
if x > 0 and y > 0 and x < map([[xsize]]) * 32 and y < map([[ysize]]) * 32 then
parse([[setpos ]]..id..[[ ]]..x..[[ ]]..y)
end
else
rp_msg2(id,[[25500000]],[[Stop! You are not CT then can't use Wall Hack]])
end
end
end
------ Here is the Class System (Jobs) -------
if sample==nil then sample={} end
sample.profs={}
-----------------------
-- INITIAL SETUP --
-----------------------
function initArray(m)
local array = {}
for i = 1, m do
array[i]=0
end
return array
end
sample.profs.class=initArray(32)
function sample.profs.classmenu(id)
menu(id,"Select your Job,Guard|Usp+Kevlar,Spy|Stealth+Usp+Mines,Assassin|Ak47+Deagle,Destroyer|Rpg Launcher,Sniper|AWP+Deagle")
end
-----------------------
-- TEAM -> CLASS --
-----------------------
addhook("team","sample.profs.team")
function sample.profs.team(id,team)
if (team>0) then
sample.profs.classmenu(id)
end
end
-----------------------
-- CLASS SELECTION --
-----------------------
addhook("menu","sample.profs.menu")
function sample.profs.menu(id,menu,sel)
if (menu=="Select your Class") then
if (sel>=0 and sel<=6) then
sample.profs.class[id]=sel
if (player(id,"health")>0) then
end
end
end
end
-----------------------
-- SPAWN --
-----------------------
addhook("spawn","sample.profs.spawn")
function sample.profs.spawn(id)
-- Guard
if (sample.profs.class[id]<=1) then
parse ("setmaxhealth "..id.." 100")
parse ("setarmor "..id.." 100")
parse ("speedmod "..id.." 0")
return "1";
end
-- Spy
if (sample.profs.class[id]==2) then
parse ("setmaxhealth "..id.." 100")
parse ("setarmor "..id.." 84")
parse ("speedmod "..id.." 2")
return "1,87";
end
-- Assassin
if (sample.profs.class[id]==3) then
parse ("setmaxhealth "..id.." 100")
parse ("setarmor "..id.." 0")
parse ("speedmod "..id.." 0")
return "3,30";
end
-- Destroyer
if (sample.profs.class[id]==4) then
parse ("setmaxhealth "..id.." 100")
parse ("setarmor "..id.." 50")
return "47";
end
-- SNIPER
if (sample.profs.class[id]==6) then
parse ("setmaxhealth "..id.." 100")
parse ("setarmor "..id.." 25")
return "35,3";
end
end
I need: in F3 menu a button, when i click i can chose my Job (I pick the weapon instantly)