Beginner - TDM
#2

pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
    if (classid == 0||classid == 1||classid == 2)
    {
        gTeam[playerid] = TEAM_GROVE;
    }
    else if(classid == 3||classid == 4||classid == 5)
    {
        gTeam[playerid] = TEAM_BALLA;
    }
}

OnPlayerRequestClass(playerid,classid)
{
SetPlayerTeamFromClass(playerid, classid);
}
Reply


Messages In This Thread
Beginner - TDM - by Kjetil - 18.07.2009, 19:59
Re: Beginner - TDM - by SiJ - 18.07.2009, 21:19
Re: Beginner - TDM - by Kjetil - 18.07.2009, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)