Team deathmatch
#2

-Random Skins-

// At the top of the script
pawn Код:
new gTeam1Skins[3][3] = {
{126}, // Skin Id's
{124},
{113}
};

new gTeam2Skins[3][3] = {
{280}, // Skin Id's
{282},
{285}
};
Then go to OnPlayerSpawn callback, and check if player is in a team 1 ' if(gTeam or PlayerInfo whatever you have).
and set random skin spawn like that :

pawn Код:
new rand;
    rand = random(sizeof(gTeam1Skins));
    SetPlayerSkin(playerid, gTeam1Skins[rand][0]);
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)