Need help by making classes.
#1

I want to make a new class, this class must be class 61,

Now stays:

else if(classid => 18 )
{
gTeam[playerid] = TEAM_CIVIL;
}



But i want that everything between 18 and 60 is TEAM_CIVIL and 61 is TEAM_ADMIN

How do i do this?

I though something like:

else if(classid => 18 && =< 60)
{
gTeam[playerid] = TEAM_CIVIL;
}

But it doesn't work.
Reply
#2

if(18 <= classid <= 60)

Or you could use a switch statement.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)