Forum

> > CS2D > Scripts > Classes to zombies or to terrorist
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Classes to zombies or to terrorist

11 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Classes to zombies or to terrorist

Apache uwu
User Off Offline

Zitieren
Sorry I don't understand.

It seems like you want separate classes for teams--but zombie and terrorists are the same team, unless you meant zombies and counter-terrorists to have different classes.

I think you might have meant you wanted zombies to be able to become terrorists with a class, or vice versa.

Still unsure, maybe you could show us what you have so far, either that or try rewording your question.

alt Re: Classes to zombies or to terrorist

Eternal
User Off Offline

Zitieren
Really simple script
i'm copying and pasting the code from the samples folder

Spoiler >


You need to edit this codes for the terrorists can be only used them

alt Re: Classes to zombies or to terrorist

Apache uwu
User Off Offline

Zitieren
Simply make it so only Ts can select a class.

1
2
3
4
5
6
addhook("team","sample.classes.team")
function sample.classes.team(id,team)
     if (team==1) then
          sample.classes.classmenu(id)
     end
end

alt Re: Classes to zombies or to terrorist

CirtarTheEpic
BANNED Off Offline

Zitieren
user Apache uwu: i mean i want the whole script and your
addhook("team","sample.classes.team")
function sample.classes.team(id,team)
if (team==1) then
sample.classes.classmenu(id)
end
end
(but please change the SAMPLE.CLASSES.TEAM please!)
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht