#define team_Example
#1

If I had a team define (e.g #define team_australia) and no addplayerclass line for australia's spawn also with a 'AUSTRALIA' name that comes up when surfing through classes, would the server keep on restarting?
Reply
#2

Try it. i don't think it should restart, but why would you display text saying "australia" on class select if there are no classes for them
Reply
#3

Uhh... what? At least tell us what GM you are using or something. Also, what you just said doesn't make much sense, try to explain it better.

And why not to try... whatever you are asking, to find out if server would keep on restarting yourself?


Also, enums might be better for defining teams and such.
Instead of
pawn Код:
#define team_1 0
#define team_2 1
#define team_cows 2
you could do
pawn Код:
enum{
    team_1,
    team_2,
    team_cows
};
Reply
#4

It actually is restarting.
Reply
#5

Well you might aswell remove the austrailian team since your not using them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)