Ich bin Neu in der Scripter welt und möchte es gut können fürs anfang hat http://www.cs2d.com/tut/tkdlua/luatut.html#introduction diese seite mir gut geholfen.
Ich bin an einer Map und brauche diesen Script
für diese Map aber irgentwie geht dieser Script nich



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
addhook("serveraction","Weapon")
function Weapon(id,p)
if p==1 then
menu(id,"Menu,Laserman,Bombermann")
end
end
addhook("menu","WeaponMenu")
function WeaponMenu(id,title,button)
if title=="Menu" then
if button==1 then
parse("equip "..id.." 51")
parse("equip "..id.." 72")
parse("equip "..id.." 87")
elseif button==2 then
parse("equip "..id.." 76")
parse("equip "..id.." 30")
end
end