How to make team balance
#1

Please tell me how to make team balance for two teams. only
Reply
#2

Found this with a little SEARCH:

https://sampforum.blast.hk/showthread.php?tid=224853

Should help you get started.
Reply
#3

Deleted.... WTF?!?!?
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)