How to make team balance
#4

pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
    SetPlayerPos(playerid, 1380.6447,-1753.0427,13.5469);
    SetPlayerFacingAngle(playerid, 269.6420);
    SetPlayerCameraPos(playerid, 1387.2906,-1752.8887,13.3828);
    SetPlayerCameraLookAt(playerid, 1380.6447,-1753.0427,13.5469);
    TextDrawShowForPlayer(playerid, CBox);
    TextDrawShowForPlayer(playerid, CBox2);
    TextDrawShowForPlayer(playerid, InfoC);
    TextDrawShowForPlayer(playerid, SkinC);
    if(classid == 0)
    {
        //GameTextForPlayer(playerid,"~b~Human ~n~~w~ Powers: None",5000,4);
        TextDrawHideForPlayer(playerid,SkinC);
        TextDrawShowForPlayer(playerid,SkinC);
        TextDrawSetString(SkinC,"Human");
        PlayerTeam[playerid] = 0;
        SetPlayerTeam(playerid,0);
    }
    else if(classid == 1)
    {
        //GameTextForPlayer(playerid,"~r~Zombie ~n~~w~ Powers: Infection Virus",5000,4);
        TextDrawHideForPlayer(playerid,SkinC);
        TextDrawShowForPlayer(playerid,SkinC);
        TextDrawSetString(SkinC,"Zombie");
        PlayerTeam[playerid] = 1;
        SetPlayerTeam(playerid,1);
    }
    return 1;
}
I m using this code can you help please
Reply


Messages In This Thread
How to make team balance - by MA_proking - 21.09.2011, 13:46
Re: How to make team balance - by Stigg - 21.09.2011, 13:50
Re: How to make team balance - by aRoach - 21.09.2011, 13:51
Re: How to make team balance - by MA_proking - 21.09.2011, 13:55

Forum Jump:


Users browsing this thread: 1 Guest(s)