29.11.2011, 19:11
pawn Код:
public OnPlayerRequestClass( playerid, classid )
{
switch ( classid ) {
case 0:
{
GameTextForPlayer( playerid, "~r~TEAM Ballas", 300, 3 );
SetPlayerTeam( playerid, TEAM_BALLAS );
}
case 1:
{
GameTextForPlayer( playerid, "~g~TEAM CJ", 300, 3 );
SetPlayerTeam( playerid, TEAM_CJ );
}
case 2:
{
GameTextForPlayer( playerid, "~g~TEAM CJ", 300, 3 );
SetPlayerTeam( playerid, TEAM_CJ );
}
}
return 1;
}