[POMOC] Dodavanje Auta za Bandu

Započeo [TS] Killer NO. 1, April 28, 2011, 15:00:31 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Cyber
Detaljan opis problema: Dodajem auto za bandu neku Vincie uradim sledece

Znaci pod New doda VINCIE17, zatim pod carid dodam || carid == VINCIE17) zatim dodam kordinate vozila VINCIE17 = AddStaticVehicle(522,1002.9485,-1433.5298,13.1178,178.1077,1,1); // NRG 1
i odem compile nema errora uradim gmx udjem na server ali nema toga motora :S  :S
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://


znm..sve imam evo kako je kod mene

Auta pod New
VINCIE1,
VINCIE2,
VINCIE3,
VINCIE4,
VINCIE5,
VINCIE6,
VINCIE7,
VINCIE8,
VINCIE9,
VINCIE10,
VINCIE11,
VINCIE12,
VINCIE13,
VINCIE14,
VINCIE15,
VINCIE16,
VINCIE17,


Pa onda ovo
stock VincieVozila(carid)
{
if(carid == VINCIE1 || carid == VINCIE2 || carid == VINCIE3 || carid == VINCIE4 || carid == VINCIE5 || carid == VINCIE6 || carid == VINCIE7 || carid == VINCIE8 || carid == VINCIE9 || carid == VINCIE10)
{
return 1;
}
     else if(carid == VINCIE11 || carid == VINCIE12 || carid == VINCIE13 || carid == VINCIE14 || carid == VINCIE15 || carid == VINCIE16 || carid == VINCIE17)


pa imam ovo
if(VincieVozila(vehicle)) {
   if(PlayerInfo[playerid][Clan] == 14 || PlayerInfo[playerid][Lider] == 14) { return 1; } else { RemovePlayerFromVehicle(playerid);
   SendClientMessage(playerid, CRVENA, "Upozorenje:Nemate kljuceve od ovog vozila."); }}


Evo i kordinate vozila
VINCIE1 = AddStaticVehicle(560,998.4196,-1433.3359,13.2519,181.1653,1,1); // VincieSultan__Vozilo broj 397
VINCIE2 = AddStaticVehicle(560,993.6558,-1433.7372,13.2524,176.4438,1,1); // VincieSultan2
VINCIE3 = AddStaticVehicle(400,1005.5462,-1461.0007,13.6405,359.3362,1,1); // VincieDzi
VINCIE4 = AddStaticVehicle(400,1012.8436,-1461.2059,13.6435,0.1295,1,1); // VincieDzip2
VINCIE5 = AddStaticVehicle(400,1021.1967,-1461.2540,13.6486,0.4533,1,1); // VincieDzip3
VINCIE6 = AddStaticVehicle(461,1030.4670,-1454.3359,13.1381,95.2611,1,1); // VincieMotor
VINCIE7 = AddStaticVehicle(461,1030.3361,-1451.6748,13.1427,96.5400,1,1); // VincieMotor2
VINCIE8 = AddStaticVehicle(461,1030.1810,-1448.7380,13.1460,91.2244,1,1); // VincieMotor3
VINCIE9 = AddStaticVehicle(461,956.1287,-1451.4850,13.1157,268.2898,1,1); // VincieMotor4
VINCIE10 = AddStaticVehicle(461,956.1290,-1447.4698,13.1178,272.2483,1,1); // VincieMotor5
VINCIE11 = AddStaticVehicle(545,979.6924,-1433.2025,13.3580,177.4200,1,1); // VincieHustler
VINCIE12 = AddStaticVehicle(545,984.3351,-1433.2661,13.3580,178.1731,1,1); // VincieHustler2
VINCIE13 = AddStaticVehicle(545,998.3096,-1461.3942,13.3579,0.3141,1,1); // VincieHustler3
VINCIE14 = AddStaticVehicle(409,988.4897,-1453.6064,13.3363,269.0504,1,1); // VincieLimuzina
VINCIE15 = AddStaticVehicle(487,970.8904,-1424.2852,22.7192,219.3210,1,1); // VincieHelikopter
VINCIE16 = AddStaticVehicle(487,1043.9789,-1438.2631,22.7065,148.2831,1,1); // VincieHelikopter2__Vozilo broj 412
VINCIE17 = AddStaticVehicle(522,1002.9485,-1433.5298,13.1178,178.1077,1,1); // NRG 1

Ne....

new VINICE[18];

   VINCIE[1] = AddStaticVehicle(560,998.4196,-1433.3359,13.2519,181.1653,1,1); // VincieSultan__Vozilo broj 397 
   VINCIE[2] = AddStaticVehicle(560,993.6558,-1433.7372,13.2524,176.4438,1,1); // VincieSultan2 
   VINCIE[3] = AddStaticVehicle(400,1005.5462,-1461.0007,13.6405,359.3362,1,1); // VincieDzi 
   ...

stock VincieVozila(carid) 

    if(carid == VINCIE[1] || carid == VINCIE[2] ...) 
    { 
       return 1; 
    }

Citat: eXtreme poslato April 28, 2011, 15:53:32 POSLE PODNE
Ne....

new VINICE[18];

   VINCIE[1] = AddStaticVehicle(560,998.4196,-1433.3359,13.2519,181.1653,1,1); // VincieSultan__Vozilo broj 397 
   VINCIE[2] = AddStaticVehicle(560,993.6558,-1433.7372,13.2524,176.4438,1,1); // VincieSultan2 
   VINCIE[3] = AddStaticVehicle(400,1005.5462,-1461.0007,13.6405,359.3362,1,1); // VincieDzi 
   ...

stock VincieVozila(carid) 

    if(carid == VINCIE[1] || carid == VINCIE[2] ...) 
    { 
       return 1; 
    }


pa taj pod 17 sam ja dodao ali mi ga ne prikazuje :S