Diffrent skins for the same team?..
#2

Did you think of using AddPlayerClassEx?

Example :

If you have a team Triad you would do :

//Anywhere in the script basically
New TEAM_TRIAD[MAX_PLAYERS];

Then under OnGameModeInit();

AddPlayerClassEx(TEAM_TRIAD,2,1529.3446,-888.6906,61.1224,49.6362,0,0,0,0,0,0);

What AddPlayerClassEx Allows the player to do is, if the player is a Team triad member, he can pick through the skins that have the TEAM_TRIAD (underlined part of AddPlayerClassEx Added into it) and if he is not a team triad, then under

OnPlayerRequestSpawn(playerid);
{
//however you have your teams defined will be different, but this is an example
if !IsPlayerTeamTriad(playerid);
SendClientMessage(playerid, 0xFF0000FF, "You are not a Team Triad member !");
return 0;
} else {
return 1;

Or something like that. I know my coding is wrong, but it is somewhat correct I guess..
Reply


Messages In This Thread
Diffrent skins for the same team?.. - by _Vortex - 20.08.2009, 20:16
Re: Diffrent skins for the same team?.. - by Hiitch - 20.08.2009, 20:21
Re: Diffrent skins for the same team?.. - by _Vortex - 21.08.2009, 10:55

Forum Jump:


Users browsing this thread: 2 Guest(s)