SA-MP Forums Archive
0 For 3 teams? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 0 For 3 teams? (/showthread.php?tid=218300)



0 For 3 teams? - Kitten - 29.01.2011

Solved


Re: 0 For 3 teams? - Conroy - 29.01.2011

If they're all the same, why bother defining all three? Defining values are supposed to be shortcuts, an easier way of representing data. It's pointless having three teams all with the same team ID. Make an anti team kill script, that way you can have your 3 teams.

-Conroy


Re: 0 For 3 teams? - Mean - 29.01.2011

Just do
pawn Код:
#define TEAM_UMBRELLA_CORP_TEAM_SOVEIT_UNION_TEAM_USA_ARMY 0

Because 3 defines are useless


Re: 0 For 3 teams? - Conroy - 30.01.2011

Quote:
Originally Posted by Mean
Посмотреть сообщение
Just do
pawn Код:
#define TEAM_UMBRELLA_CORP_TEAM_SOVEIT_UNION_TEAM_USA_ARMY 0

Because 3 defines are useless
Lol.. defines are supposed to be shortcuts, something easier to remember.

-Conroy


Re: 0 For 3 teams? - MrDeath537 - 30.01.2011

Why are you defining 3 times the teams?

If those teams are using the same id, you don't need to define them three times .