ich fang ma easy an
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
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
wpn = {'Bogen','Sord','Helm','Bomb','...',1,2,3,4,5'} addhook('serveraction','sa') addhook('menu','m') function sa(id,b) if b == 1 then wpnm(id) end end function wpnm(id) menu(id;'Waffenmenu,'..wpn[1]..','..wpn[2]..','..wpn[3]..','..wpn[5]) end function m(id,t,s) if t == 'Waffenmenu' then if s == 1 then parse('equip '..id..' '..wpn[6]) elseif s == 2 then parse('equip '..id..' '..wpn[7]) elseif s == 3 then parse('equip '..id..' '..wpn[8]) elseif s == 4 then parse('equip '..id..' '..wpn[9]) elseif s == 5 then parse('equip '..id..' '..wpn[10]) end end end
dieser script is für ein menu mit waffen
danke
beckerchen