Forum

> > CS2D > Scripts > Classes to zombies or to terrorist
Forums overviewCS2D overview Scripts overviewLog in to reply

English Classes to zombies or to terrorist

11 replies
To the start Previous 1 Next To the start

old Re: Classes to zombies or to terrorist

Apache uwu
User Off Offline

Quote
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.

old Re: Classes to zombies or to terrorist

Eternal
User Off Offline

Quote
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

old Re: Classes to zombies or to terrorist

Apache uwu
User Off Offline

Quote
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

old Re: Classes to zombies or to terrorist

CirtarTheEpic
BANNED Off Offline

Quote
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!)
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview