Szia!Módod elejére:
[pawn]new gTeam[MAX_PLAYERS];
#define TEAM_SMOKE[/pawn]
OnGameModeInit alá:
[pawn]AddPlayerClass(269,2486.2463,-1671.4735,13.3359,3,1,0,0,0,0);//Smoke kezdõhelye[/pawn]
Ezeket akárhova beillesztheted:
[pawn]public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0:
{
gTeam[playerid] = TEAM_SMOKE;
}
}
return 1;
}[/pawn]
[pawn]public OnPlayerSpawn(playerid)
{
if(IsPlayerLAdmin(playerid) == 0)
{
if(gTeam[playerid] == TEAM_SMOKE)
{
SetPlayerColor(playerid,0x399118AA);
}
return 1;
}[/pawn]
Nem teszteltem,de remélem,hogy mûködik!!