Errors
#2

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    switch(gPlayerCheckpointStatus[playerid])
    {
        case CP_WEPDEP: //1024
        {
            SendClientMessage(playerid, COLOUR_TAN, "You are Capturing the Weapon Depot. Hold it for 5 minutes!" );
            SendClientMessage(playerid, COLOUR_WHITE, "Do {F81414}NOT {FFFFFF}leave the checkpoint or the timer will {F81414}STOP" );
            SetTimerEx("WepDep", 300000, false,"i",playerid);
            if(gTeam[playerid] == TEAM_GROVE) //1030
            { //1031
                SendClientMessageToAll(COLOUR_GREEN, "Grove Street is capturing the Weapon Dep!" );
            }
            else if(gTeam[playerid] == TEAM_BALLAS) //1034
            {
                SendClientMessageToAll(COLOUR_PURPLE, "Ballas is capturing the Weapon Dep!" );
            }
            else if(gTeam[playerid] == TEAM_LOSAZTECAS)
            {
                SendClientMessageToAll(COLOUR_CYAN, "Los Aztecas is capturing the Weapon Dep!" );
            }
            else if(gTeam[playerid] == TEAM_VAGOS)
            {
                SendClientMessageToAll(COLOUR_YELLOW, "Los Vagos is capturing the Weapon Dep!" );
            }
            else if(gTeam[playerid] == TEAM_BIKERS)
            {
                SendClientMessageToAll(COLOUR_WHITE, "The Bikers are capturing the Weapon Dep!" );
            }
            else if(gTeam[playerid] == TEAM_LSPD)
            {
                SendClientMessageToAll(COLOUR_BLUE, "Los Santos' finest are capturing the Weapon Dep!" );
            }
         }
    }
    return 1; //1055
}
Reply


Messages In This Thread
Errors - by cloudysky - 05.07.2011, 15:50
Re: Errors - by TheGarfield - 05.07.2011, 15:54
Re: Errors - by cloudysky - 05.07.2011, 15:55
Re: Errors - by TheGarfield - 05.07.2011, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)