deathmatch question
#3

ty i will try this



Thanks this work


1 little question more, why this doesnt work?

under the command /back i places this :

Код:
     if(gTeam[playerid] == TEAM_LIFEGUARDS)      { GivePlayerWeapon(playerid, 4, 1); }
     else if(gTeam[playerid] == TEAM_GOLFERS)  { GivePlayerWeapon(playerid, 2, 1); }
	   else if(gTeam[playerid] == TEAM_FBI)  { GivePlayerWeapon(playerid, 3, 1); }
	   else if(gTeam[playerid] == TEAM_TRIADS)  { GivePlayerWeapon(playerid,15, 1); }
	   else if(gTeam[playerid] == TEAM_COPS)   { GivePlayerWeapon(playerid, 3, 1); }
     else if(gTeam[playerid] == TEAM_MOBSTERS) { GivePlayerWeapon(playerid, 9, 1); }
	   else if(gTeam[playerid] == TEAM_GROVESTREET)  { GivePlayerWeapon(playerid, 6, 1); }
     else if(gTeam[playerid] == TEAM_VAGOS) { GivePlayerWeapon(playerid, 5, 1); }
and this
Код:
 if(gTeam[playerid] == TEAM_LIFEGUARDS)      { SetPlayerColor( playerid, LIFEGUARDS_COLOR);   }
 else if(gTeam[playerid] == TEAM_GOLFERS)  { SetPlayerColor( playerid, GOLFERS_COLOR); }
 else if(gTeam[playerid] == TEAM_FBI)  { SetPlayerColor( playerid, FBI_COLOR);  }
 else if(gTeam[playerid] == TEAM_TRIADS)  { SetPlayerColor( playerid, TRIADS_COLOR);  }
 else if(gTeam[playerid] == TEAM_COPS)   { SetPlayerColor( playerid, COPS_COLOR);   }
 else if(gTeam[playerid] == TEAM_MOBSTERS) { SetPlayerColor( playerid, MOBSTERS_COLOR); }
 else if(gTeam[playerid] == TEAM_GROVESTREET)  { SetPlayerColor( playerid, GROVESTREET_COLOR); }
 else if(gTeam[playerid] == TEAM_VAGOS) { SetPlayerColor( playerid, VAGOS_COLOR);}
But for some reason its only change the color/weapon back to the first team
Reply


Messages In This Thread
deathmatch question - by smokey104 - 28.05.2009, 14:58
Re: deathmatch question - by farse - 28.05.2009, 15:07
Re: deathmatch question - by smokey104 - 28.05.2009, 15:12
Re: deathmatch question - by smokey104 - 28.05.2009, 15:55
Re: deathmatch question - by farse - 28.05.2009, 16:05
Re: deathmatch question - by smokey104 - 28.05.2009, 16:33
Re: deathmatch question - by farse - 28.05.2009, 16:50
Re: deathmatch question - by smokey104 - 28.05.2009, 17:10
Re: deathmatch question - by smokey104 - 28.05.2009, 18:01
Re: deathmatch question - by Jatoofer - 28.05.2009, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)