HELP ME TO ADD CARS TO ORG. HERE IS CODE LOOK PLEASE!! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HELP ME TO ADD CARS TO ORG. HERE IS CODE LOOK PLEASE!! (
/showthread.php?tid=112819)
HELP ME TO ADD CARS TO ORG. HERE IS CODE LOOK PLEASE!! -
buonggiorno - 10.12.2009
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
Re: HELP ME TO ADD CARS TO ORG. HERE IS CODE LOOK PLEASE!! -
LarzI - 10.12.2009
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;
}