Default Team Making. - 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)
+--- Thread: Default Team Making. (
/showthread.php?tid=420349)
Default Team Making. -
Maftaca - 04.03.2013
I've made a gamemode that got some features of a Gang War. It got some commands to join the Gang War Part.
I have used the Team Function. But also, here i tell why i'm posting here.
I want team 1,2,3,4,5,6 to be for Gang Wars. but also i want a one that is default. It will be Killing for all, and Anti Team Kill get disabled. I think Team ID 0 is for default, But how i choose the Functions [Including Anti-TeamKill and TeamChat] to be disabled.
More information about the issue i'm having:
The Gang Wars part sets your Virtual World into a totally another one.
Nothing related with cars. [Probably].
I will respect any of your comments. And i will probably be happy to add his name in the Credits.
Thanks and please Help.
Re: Default Team Making. -
Scrillex - 04.03.2013
Umm show your team #defines...
and which you team #defines you are using ?
Like gTeam?
Re: Default Team Making. -
Maftaca - 04.03.2013
Here is the defines. and the other stuff.
Код:
#define GROVE_STREET 1
#define BALLAS 2
#define VAGOS 3
#define AZTECAS 4
#define TRIADS 5
#define COPS 6
#define GROVE_STREET_COLOUR 0x00820FAA
#define POLICE_COLOUR 0x003DF5AA
#define BALLAS_COLOUR 0x6A1BE0AA
#define AZTECAS_COLOUR 0x00FFE5AA
#define COPS_COLOUR 0x140AD1AA
#define TRIADS_COLOUR 0xA6D428AA
#define VAGOS_COLOUR 0xE3DD2BAA
Here is the gTeam thing.
Код:
new gTeam[MAX_PLAYERS];
public OnPlayerCommandText(playerid, cmdtext[])
I think that's all information you asked for. Need more? Just tell me.
Also Do not forget about where the world is 0, Everyone can fight everyone, i think.. 'Main World Freedom'.