sziasztok!Az lenne a gondom,hogy megvan a bandám,mûködik,A kocsik banda kocsik,és így bevan írva a kocsik tuningal ://Az \"kocsi[1]-kocsi[2]\" NRG,így nem szerepel a tuningolt jármûvek között.new kocsi[15];#include <a_samp>#include <zcmd>#include <sscanf2>#include AntyCheat#pragma tabsize 0enum pInfo{frakciolevel}new PlayerInfo[MAX_PLAYERS][pInfo];forward SendBandaMessage(color,string[]); public OnPlayerStateChange(playerid, newstate, oldstate){ if(newstate == PLAYER_STATE_DRIVER) { new vehicleid = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][frakciolevel] == 0 ) { for(new i; i < sizeof(kocsi); i++) { if(vehicleid == kocsi) { SendClientMessage(playerid, -1, \"Nem vagy bandatag\"); RemovePlayerFromVehicle(playerid); }}}}return 1;}public SendBandaMessage(color, string[]){for(new i = 0; i < MAX_PLAYERS; i++){ if(IsPlayerConnected(i)) { if(PlayerInfo[frakciolevel] > 0) { SendClientMessage(i, color, string); } }}return 1;}public OnFilterScriptInit(){kocsi[0] = AddStaticVehicleEx(409,2191.39990234,-1796.80004883,13.50000000,358.99487305,3,3,15);//Streach[Limó]SetVehicleToRespawn(kocsi[0]);kocsi[1] = AddStaticVehicleEx(522,2185.30004883,-1808.30004883,13.19999981,0.00000000,-1,3,15); //NRG-500SetVehicleToRespawn(kocsi[1]);kocsi[2] =AddStaticVehicleEx(522,2188.39990234,-1808.19995117,13.19999981,0.00000000,-1,3,15); //NRG-500SetVehicleToRespawn(kocsi[2]);kocsi[3] =AddStaticVehicleEx(482,2156.60009766,-1807.19995117,13.60000038,0.00000000,3,3,15); //BurritoSetVehicleToRespawn(kocsi[3]);kocsi[4] =AddStaticVehicleEx(482,2161.00000000,-1807.09960938,13.60000038,0.00000000,3,3,15); //BurritoSetVehicleToRespawn(kocsi[4]);kocsi[5] =AddStaticVehicleEx(415,2165.60009766,-1807.40002441,13.19999981,0.00000000,3,1,15); //CheetahSetVehicleToRespawn(kocsi[5]);kocsi[6] =AddStaticVehicleEx(415,2170.60009766,-1807.80004883,13.19999981,0.00000000,3,1,15); //CheetahSetVehicleToRespawn(kocsi[6]);kocsi[7] =AddStaticVehicleEx(480,2175.69995117,-1807.69995117,13.19999981,0.00000000,3,-1,15); //CometSetVehicleToRespawn(kocsi[7]);kocsi[8] =AddStaticVehicleEx(480,2180.89990234,-1807.90002441,13.19999981,0.00000000,3,-1,15); //CometSetVehicleToRespawn(kocsi[8]);kocsi[9] =AddStaticVehicleEx(560,2157.30004883,-1793.30004883,13.19999981,180.75000000,3,3,15); //SultanSetVehicleToRespawn(kocsi[9]);kocsi[10] =AddStaticVehicleEx(560,2161.69995117,-1793.19995117,13.19999981,180.99670410,3,3,15); //SultanSetVehicleToRespawn(kocsi[10]);kocsi[11] =AddStaticVehicleEx(541,2166.39990234,-1793.19995117,13.10000038,181.00000000,3,-1,15); //BulletSetVehicleToRespawn(kocsi[11]);kocsi[12] =AddStaticVehicleEx(541,2170.80004883,-1793.09997559,13.10000038,180.24975586,3,-1,15); //BulletSetVehicleToRespawn(kocsi[12]);kocsi[13] =AddStaticVehicleEx(562,2175.00000000,-1793.19995117,13.10000038,178.74987793,3,3,15); //ElegySetVehicleToRespawn(kocsi[13]);kocsi[14] =AddStaticVehicleEx(562,2153.19995117,-1790.30004883,13.10000038,180.74755859,3,1,15); //ElegySetVehicleToRespawn(kocsi[14]);return 1;}public OnFilterScriptExit(){ return 1;}public OnVehicleSpawn(vehicleid){//-----Streich------//if(vehicleid == kocsi[0]){ AddVehicleComponent(vehicleid,1080);//Kerék}//-----Burrito-----//if(vehicleid == kocsi[3] || vehicleid == kocsi[4]){ AddVehicleComponent(vehicleid,1080);//Kerék}//-----Cheetah-----//if(vehicleid == kocsi[5] || vehicleid == kocsi[6]){ AddVehicleComponent(vehicleid,1019);//Kipufogó AddVehicleComponent(vehicleid,1010);//Nitró AddVehicleComponent(vehicleid,1007);//Szoknya AddVehicleComponent(vehicleid,1080);//Kerék AddVehicleComponent(vehicleid,1001);//Spoiler}//-----Comet-----//if(vehicleid == kocsi[11] || vehicleid == kocsi[12]){ AddVehicleComponent(vehicleid,1080);//Kerék AddVehicleComponent(vehicleid,1010);//Nitró}//-----Sultan-----//if(vehicleid == kocsi[7] || vehicleid == kocsi[8]){ AddVehicleComponent(vehicleid,1028);//Kipufogó AddVehicleComponent(vehicleid,1169);//Elsõ lökhárító AddVehicleComponent(vehicleid,1010);//Nitró AddVehicleComponent(vehicleid,1141);//Hátsó lökhárító AddVehicleComponent(vehicleid,1033);//Tetõ AddVehicleComponent(vehicleid,1027);//Szoknya AddVehicleComponent(vehicleid,1080);//Kerék AddVehicleComponent(vehicleid,1138);//Spoiler ChangeVehiclePaintjob(vehicleid,1);//paintjob}//-----Elegy-----//if(vehicleid == kocsi[3] || vehicleid == kocsi[4]){ AddVehicleComponent(vehicleid,1078);//Kerék AddVehicleComponent(vehicleid,1010);//Nitró}//-----Streach-----//if(vehicleid == kocsi[0] || vehicleid == kocsi[0]){ AddVehicleComponent(vehicleid,1034);//Kipufogó AddVehicleComponent(vehicleid,1171);//Elsõ lökhárító AddVehicleComponent(vehicleid,1010);//Nitró AddVehicleComponent(vehicleid,1149);//Hátsó lökhárító AddVehicleComponent(vehicleid,1035);//Tetõ AddVehicleComponent(vehicleid,1036);//Szoknya AddVehicleComponent(vehicleid,1080);//Kerék AddVehicleComponent(vehicleid,1147);//Spoiler ChangeVehiclePaintjob(vehicleid,1);//paintjob}}És valamiért mégse akarja megjeleníteni a kocsikon a tuningot...Várom válaszotokat!Tiszteletem!
for(new i = 0; i < sizeof(kocsi); i++)