HELP ME TO ADD CARS TO ORG. HERE IS CODE LOOK PLEASE!!
#1

Hi a make some cars witch just pd, fbi and national guard can drive...

i do like this

Код:
new pd1;
new pd2;
new pd3;
after that i create cars like this
Код:
 pd1 = CreateVehicle(xxxxxxxxxxxxxx)
pd2 = CreateVehicle(xxxxxxxxxxxxxx)
pd3 = CreateVehicle(xxxxxxxxxxxxxx)
and finaly problem...here is my IsACopCar lines

Код:
public IsACopCar(carid)
{
	if((carid >= 35) && (carid <= 60) || carid == 66 || carid == 67 || carid == 91 || carid == 92 || carid == 93 || carid == 36 )
	{
	  if(carid == 45 || carid == 46 || carid == 55 || carid == 59 || || carid == saj1 || carid == saj2 || carid == saj3 || carid == saj4 || carid == saj5 || carid == saj6 carid == saj7 || carid == saj8 || carid == saj9 || carid == saj10 || carid == saj11 || carid == saj12 || carid == saj13 || carid == saj14);
	  { return 0; }
		return 1;
	}
	return 0;
}
who, and where to put this i create tnx for help
Reply
#2

pawn Код:
public IsACopCar(carid)
{
    if((carid >= 35) && (carid <= 60) || carid == 66 || carid == 67 || carid == 91 || carid == 92 || carid == 93 || carid == 36 || carid == pd1 || carid == pd2 || carid == pd3)
    {
      if(carid == 45 || carid == 46 || carid == 55 || carid == 59 || || carid == saj1 || carid == saj2 || carid == saj3 || carid == saj4 || carid == saj5 || carid == saj6 carid == saj7 || carid == saj8 || carid == saj9 || carid == saj10 || carid == saj11 || carid == saj12 || carid == saj13 || carid == saj14);
      { return 0; }
        return 1;
    }
    return 0;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)