Forum

> > CS2D > Scripts > choose a team with f3
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch choose a team with f3

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt choose a team with f3

BrownSoldier
BANNED Off Offline

Zitieren
Hey im want to know how to make a lua when u log in to server press f3 ant choose a team like :

There are 4 teams

Monsters
SWAT
SniperS
Guards

Admin/Mod Kommentar

title fixed. don't use generic titles. use titles which actually describe your thread.

alt Re: choose a team with f3

Bobakrome
User Off Offline

Zitieren
BrownSoldier hat geschrieben
f3 ant choose a team like :
There are 4 teams ....

he mean team..i saw that script idk where just use FAQ/Search!

alt Team?

Dovahkin
User Off Offline

Zitieren
Spawn team here try this!

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
addhook('spawn','black')
function black(id)
	if player(id,'team')==1 then
		menu(id,"T,T")
	end
end

addhook("menu","menus")
function menus(id,t,b)
	if t=="T" then
	if b==1 then
		parse("equip "..id.." 45")
	end
end

addhook('spawn','black')
function black(id)
	if player(id,'team')==2 then
		menu(id,"ct,T")
	end
end

addhook("menu","pop")
function pop(id,t,b)
	if t=="ct" then
	if b==1 then
		parse("equip "..id.." 88")
	end
end
end
end


or?


1
2
3
4
5
6
addhook("serveraction","server")
function server(id,a)
	if a==2 then
		menu(id,"blah,blah")
	end
end

--and the menu!
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht