Question: Would using the same number with #define work?
#1

So, would doing this cause an error in-game or would it be fine:

So, let's say I have two separate #defines
Код:
#define BLUETEAM 1
and
Код:
#define ADMINTEAM 1
I'm wondering, since I used the number one on both of them, would the script be confused if I kept calling on both of them later? I used to do that a lot, and it always worked, but I just want to make sure.

(If you're confused... sorry)
Reply
#2

It doesn't matter if they get used by different variables but if you use them both on only one variable the script won't know the difference between these teams
Reply
#3

Okay, guys. Thanks
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)