[AJUDA][HELP] "error 075: input line too long (after substitutions)"
#7

Quote:
Originally Posted by Azazelo
Посмотреть сообщение
pawn Код:
stock IsCarForMe(vehicleid)
{
   for(new i = 0; i <= 6; i++)
  {
   if(vehicleid == PCCCars[i]) return false;//swap this
  }
  return true;//swap this
 }
I have one more question .. How to do it the other gangs too?
Код:
if(vehicleid == GrooveCars[0] || vehicleid == GrooveCars[1] || vehicleid == GrooveCars[2] || vehicleid == GrooveCars[3] || vehicleid == GrooveCars[4] || vehicleid == GrooveCars[5] || vehicleid == GrooveCars[6] && pDados[playerid][Organizacao] != GROOVE) return SendClientMessage(playerid, -1, "Vocк nгo й da Groove Street !"), RemovePlayerFromVehicle(playerid);
    if(vehicleid == AztecaCars[0] || vehicleid == AztecaCars[1] || vehicleid == AztecaCars[2] || vehicleid == AztecaCars[3] || vehicleid == AztecaCars[4] || vehicleid == AztecaCars[5] || vehicleid == AztecaCars[6] && pDados[playerid][Organizacao] != AZTECAS) return SendClientMessage(playerid, -1, "Vocк nгo й dos Aztecas !"), RemovePlayerFromVehicle(playerid);
    if(vehicleid == VagosCars[0] || vehicleid == VagosCars[1] || vehicleid == VagosCars[2] || vehicleid == VagosCars[3] || vehicleid == VagosCars[4] || vehicleid == VagosCars[5] || vehicleid == VagosCars[6] && pDados[playerid][Organizacao] != VAGOS) return SendClientMessage(playerid, -1, "Vocк nгo й dos Vagos !"), RemovePlayerFromVehicle(playerid);
    if(vehicleid == BallaCars[0] || vehicleid == BallaCars[1] || vehicleid == BallaCars[2] || vehicleid == BallaCars[3] || vehicleid == BallaCars[4] || vehicleid == BallaCars[5] || vehicleid == BallaCars[6] && pDados[playerid][Organizacao] != BALLAS) return SendClientMessage(playerid, -1, "Vocк nгo й dos Ballas !"), RemovePlayerFromVehicle(playerid);
	if(vehicleid == PCCCars[0] || vehicleid == PCCCars[1] || vehicleid == PCCCars[2] || vehicleid == PCCCars[3] || vehicleid == PCCCars[4] || vehicleid == PCCCars[5] || vehicleid == PCCCars[6] && pDados[playerid][Organizacao] != PCC) return SendClientMessage(playerid, -1, "Vocк nгo й do PCC !"), RemovePlayerFromVehicle(playerid);
Thanks for trying! Rep +
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)