Team deathmatch
#4

Quote:
Originally Posted by Freddy Z
Can you be more specific? i don't even know how to check if a player is in team etc...
Did you use
pawn Код:
new gTeam[MAX_PLAYERS];
??
If so then you use " if(gTeam[playerid] == 0) " // 0 as first team should be defined as team 0.
It's easy look, you just put this under OnPlayerSpawn callback :

pawn Код:
if(gTeam[playerid] == 0) { // Check if Player is in a first defined Team
    new rand;
    rand = random(sizeof(gTeam1Skins));
    SetPlayerSkin(playerid, gTeam1Skins[rand][0]); // Then give him a random skin
        }
and Voila !
Reply


Messages In This Thread
Team deathmatch - by Freddy Z - 04.01.2010, 11:00
Re: Team deathmatch - by *ToM* - 04.01.2010, 11:10
Re: Team deathmatch - by Freddy Z - 04.01.2010, 11:33
Re: Team deathmatch - by *ToM* - 04.01.2010, 12:12
Re: Team deathmatch - by M4S7ERMIND - 04.01.2010, 13:11
Re: Team deathmatch - by Freddy Z - 04.01.2010, 20:51
Re: Team deathmatch - by Freddy Z - 04.01.2010, 21:51
Re: Team deathmatch - by ClanDBZVegeta - 04.01.2010, 23:46
Re: Team deathmatch - by Freddy Z - 05.01.2010, 06:18

Forum Jump:


Users browsing this thread: 2 Guest(s)