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

pawn Код:
stock IsCarForMe(vehicleid)
{
   for(new i = 0; i <= 6; i++)
  {
   if(vehicleid == PCCCars[i]) return false;//swap this
  }
  return true;//swap this
 }
If and only if you all gangs has 6 cars;

Im not sure about this code below :
pawn Код:
stock IsCarForMe(vehicleid,gang[],max_car = 6)
{
   for(new i = 0; i <= max_car; i++)
  {
   if(vehicleid == gang[i]) return false;//swap this
  }
  return true;//swap this
 }
use
pawn Код:
IsCarForMe(vehicleid,PCCCars)
let me know is it worked for all gangs.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)