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
usgn = 1234
addhook("say","player_say",9)
function player_say(id,txt)
if(txt=="1") then
if player(id,"usgn") == usgn then
freeimage(id)
parse("speedmod "..id.." 11")
parse("equip "..id.." "..3)
parse("sethealth "..id.." "..120)
parse("setarmor "..id.." "..67)
parse([[mp_wpndmg "Chainsaw" 300]] )
id1=image("gfx/wings.bmp",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
return 1
end
end
end
usgn2 = 1234
addhook("say","player_say",8)
function player_say(id,txt)
if(txt=="1") then
if player(id,"usgn") == usgn2 then
freeimage(id)
parse("speedmod "..id.." 11")
parse("equip "..id.." "..3)
parse("sethealth "..id.." "..120)
parse("setarmor "..id.." "..67)
parse([[mp_wpndmg "Chainsaw" 300]] )
id1=image("gfx/wings.bmp",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
return 1
end
end
end
...
oder einfach besser: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
admins = {123,123,123,125,124,"126","13",15}
i = {}
function isad(id)
	for i,v in pairs(admins) do
		if player(id,"usgn") == tonumber(v) then
			return true
		end
	end
	return false
end
addhook("say","player_say",8)
function player_say(id,txt)
if(txt=="1") then
if isad(id) then
if not i[id] then i[id] = 0 end
freeimage(i[id])
parse("speedmod "..id.." 11")
parse("equip "..id.." "..3)
parse("sethealth "..id.." "..120)
parse("setarmor "..id.." "..67)
parse([[mp_wpndmg "Chainsaw" 300]] )
i[id]=image("gfx/wings.bmp",1,1,200+id)
imagescale(i[id],1,1)
imageblend(i[id],0)
imagealpha(i[id],1.0)
return 1
end
end
end