input line too long (after substitutions)
#4

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == 2)
    {
        new CarCheck = GetPlayerVehicleID(playerid);
        if{CarCheck == Cars[pd1] || CarCheck == Cars[pd2] || CarCheck == Cars[pd3] || CarCheck == Cars[pd4] || CarCheck == Cars[pd5] || CarCheck == Cars[pd6] || CarCheck == Cars[pd7] || CarCheck == Cars[pd8] || CarCheck == Cars[pd9] || CarCheck == Cars[pd10] || CarCheck == Cars[pd11] || CarCheck == Cars[pd11] || CarCheck == Cars[pd13] || CarCheck == Cars[pd14] || CarCheck == Cars[pd15] || CarCheck == Cars[pd16] || CarCheck == Cars[pd17])
        {
            if(PlayerInfo[playerid][gTeam] == TEAM_Police)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_RED, "You Don't have the keys for this car.");
            }
        }
        if(CarCheck == Cars[pd18] || CarCheck == Cars[pd19] || CarCheck == Cars[pd20] || CarCheck == Cars[pd21] || CarCheck == Cars[pd22] || CarCheck == Cars[pd23] || CarCheck == Cars[pd24] || CarCheck == Cars[pd25] || CarCheck == Cars[pd26] || CarCheck == Cars[pd27] || CarCheck == Cars[pd28] || CarCheck == Cars[pd29] || CarCheck == Cars[pd30] || CarCheck == Cars[pd31] || CarCheck == Cars[pd32] || CarCheck == Cars[pd33] || CarCheck == Cars[pd34])
        {
            if(PlayerInfo[playerid][gTeam] == TEAM_Police)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_RED, "You Don't have the keys for this car.");
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
input line too long (after substitutions) - by qUneT - 10.07.2013, 21:37
Re: input line too long (after substitutions) - by Sandiel - 10.07.2013, 21:41
Re : input line too long (after substitutions) - by qUneT - 10.07.2013, 21:56
Re: input line too long (after substitutions) - by Sandiel - 10.07.2013, 22:07
Re : input line too long (after substitutions) - by qUneT - 10.07.2013, 22:10
Re: input line too long (after substitutions) - by Vince - 10.07.2013, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)