15.04.2013, 08:34
Would anyone like to help me with adding gang zones for my TDM GM?
I start to think that i am realy stupid, because cant understand these tuttorials that i have found.
Pls help me
My teams looks like:
I start to think that i am realy stupid, because cant understand these tuttorials that i have found.
Pls help me
My teams looks like:
PHP код:
#define TEAM_1 1
#define TEAM_2 2
#define TEAM_3 3
#define TEAM_4 4
#define TEAM_5 5
#define TEAM_6 6
#define TEAM_7 7
if(classid == 0 || classid == 1 || classid == 2){
gTeam[playerid] = TEAM_1;
GameTextForPlayer(playerid, "Grove", 1000, 3);}
else if(classid == 3 || classid == 4 || classid == 5){
gTeam[playerid] = TEAM_2;
GameTextForPlayer(playerid, "Vagos", 1000, 3);}
else if(classid == 6 || classid == 7 || classid == 8){
gTeam[playerid] = TEAM_3;
GameTextForPlayer(playerid, "Ballas", 1000, 3);}
else if(classid == 9 || classid == 10 || classid == 11){
gTeam[playerid] = TEAM_4;
GameTextForPlayer(playerid, "Aztecas", 1000, 3);}
else if(classid == 12 || classid == 13 || classid == 14){
gTeam[playerid] = TEAM_5;
GameTextForPlayer(playerid, "Rifa", 1000, 3);}
else if(classid == 15 || classid == 16 || classid == 17 || classid == 18 || classid == 19){
gTeam[playerid] = TEAM_6;
GameTextForPlayer(playerid, "Bomje Gang", 1000, 3);}
else if(classid == 20 || classid == 21 || classid == 22 || classid == 23){
gTeam[playerid] = TEAM_7;
GameTextForPlayer(playerid, "Whores", 1000, 3);}
SetPlayerInterior(playerid,0);
if(gTeam[playerid] == TEAM_1)
SetPlayerColor(playerid, 0x008000AA);
else if(gTeam[playerid] == TEAM_2)
SetPlayerColor(playerid, 0xFFFF00AA);
else if(gTeam[playerid] == TEAM_3)
SetPlayerColor(playerid, 0x800080AA);
else if(gTeam[playerid] == TEAM_4)
SetPlayerColor(playerid, 0x00FFFFAA);
else if(gTeam[playerid] == TEAM_5)
SetPlayerColor(playerid, 0x8080FFAA);
else if(gTeam[playerid] == TEAM_6)
SetPlayerColor(playerid, 0xFFFFFFAA);
else if(gTeam[playerid] == TEAM_7)
SetPlayerColor(playerid, 0xFF0080AA);