[Ajuda] Bug Carros
#1

Bom eu mappei a HQ da PF em LS pois tava muito longe...
Entaum eu fui colocar os carros, o mesmo numero de veiculos que tinha antes.

Ai quando vo logar eu digito a senha e nada carrega trava a tela mais nao o jogo o relogio trava o server samp fecha...
Sem os carros editados fica Number Of Vehicles 89, Com eles fica 90, Acho que ta colocando 1 a + e nao ta suportando...
Obrigado a quem me ajudar, Codigos abaixo
pawn Код:
// Codigo Inicial, e Eles estгo com o ESPACO certinho...
    AddStaticVehicleEx(599,-9.7827,-378.9500,5.6151,0.1981,108,108,-1); // carro 1
    AddStaticVehicleEx(599,-56.5256,-378.7614,5.6190,359.8304,108,108,-1); // carro 2
    AddStaticVehicleEx(599,0.9750,-304.6190,5.6202,90.1832,108,108,-1); // carro 3
    AddStaticVehicleEx(427,-31.7355,-283.5443,5.5579,270.3580,108,108,-1); // carro 4
    AddStaticVehicleEx(427,-31.7639,-293.5675,5.5616,270.4552,108,108,-1); // carro 5
    AddStaticVehicleEx(437,-60.8034,-303.9295,5.5606,269.5351,108,108,-1); // carro 6
    AddStaticVehicleEx(598,-63.6185,-314.4219,5.1506,269.9682,108,108,-1); // carro 7
    AddStaticVehicleEx(598,1.0500,-322.3298,5.1510,89.2404,108,108,-1); // carro 8
    AddStaticVehicleEx(598,0.4850,-343.4473,5.1537,89.2499,108,108,-1); // carro 9
    AddStaticVehicleEx(598,-16.4007,-378.5286,5.1501,359.9569,108,108,-1); // carro 10
    AddStaticVehicleEx(598,-39.7827,-378.6461,5.1509,359.5863,108,108,-1); // carro 11
    AddStaticVehicleEx(523,15.2776,-261.4088,4.9995,89.9613,108,108,-1); // moto 12
    AddStaticVehicleEx(523,14.1377,-253.1430,4.9996,91.5624,108,108,-1); // moto 13
    AddStaticVehicleEx(523,14.7996,-244.7448,4.9957,88.5319,108,108,-1); // moto 14
    AddStaticVehicleEx(523,14.1623,-236.6184,4.9985,90.1925,108,108,-1); // moto 15
    AddStaticVehicleEx(497,-62.6271,-245.9967,32.7976,269.8770,108,108,-1); // heli pf 16
    AddStaticVehicleEx(497,-38.4636,-245.7485,32.7555,89.3556,108,108,-1); // heli pf 17
    AddStaticVehicleEx(522,-54.0103,-213.5215,4.9919,173.6322,108,108,-1); // moto pf 18
    AddStaticVehicleEx(522,-46.0133,-214.5919,4.9873,173.9191,108,108,-1); // moto pf 19
    AddStaticVehicleEx(522,-38.2128,-215.4363,4.9927,174.5536,108,108,-1); // moto pf 20
    AddStaticVehicleEx(522,-30.2542,-216.2510,4.9872,174.3259,108,108,-1); // moto pf 21
    AddStaticVehicleEx(522,-22.5446,-216.9522,4.9942,175.9994,108,108,-1); // moto pf 22
pawn Код:
// Novo Codigo com o espaco certinho e mesmo numero de carros
    AddStaticVehicleEx(598,939.2999878,-1051.4000244,31.2999992,359.2474365,113,1,-1); //Police Car (LVPD)
    AddStaticVehicleEx(598,935.4000244,-1051.4000244,31.2999992,359.2474365,113,1,-1); //Police Car (LVPD)
    AddStaticVehicleEx(598,931.7000122,-1051.4000244,31.2999992,359.2474365,113,1,-1); //Police Car (LVPD)
    AddStaticVehicleEx(598,928.0000000,-1051.4000244,31.2999992,359.2474365,113,1,-1); //Police Car (LVPD)
    AddStaticVehicleEx(598,924.0999756,-1051.4000244,31.2999992,359.2474365,113,1,-1); //Police Car (LVPD)
    AddStaticVehicleEx(598,920.2999878,-1051.4000244,31.2999992,359.2474365,113,1,-1); //Police Car (LVPD)
    AddStaticVehicleEx(598,916.4000244,-1051.3000488,31.2999992,359.2474365,113,1,-1); //Police Car (LVPD)
    AddStaticVehicleEx(490,899.0000000,-1050.9000244,31.7000008,0.0000000,113,1,-1); //FBI Rancher
    AddStaticVehicleEx(490,894.9000244,-1050.9000244,31.7000008,0.0000000,113,1,-1); //FBI Rancher
    AddStaticVehicleEx(490,890.9000244,-1051.0000000,31.7000008,0.0000000,113,1,-1); //FBI Rancher
    AddStaticVehicleEx(490,886.9000244,-1051.0000000,31.7000008,0.0000000,113,1,-1); //FBI Rancher
    AddStaticVehicleEx(490,882.7999878,-1051.0000000,31.7000008,0.0000000,113,1,-1); //FBI Rancher
    AddStaticVehicleEx(490,878.5999756,-1051.0000000,31.7000008,0.0000000,113,1,-1); //FBI Rancher
    AddStaticVehicleEx(599,879.2000122,-1018.4000244,32.0999985,179.4998169,113,1,-1); //Police Ranger
    AddStaticVehicleEx(599,883.2000122,-1018.4000244,32.0999985,179.4946289,113,1,-1); //Police Ranger
    AddStaticVehicleEx(599,887.2999878,-1018.4000244,32.0999985,179.4946289,113,1,-1); //Police Ranger
    AddStaticVehicleEx(599,930.5999756,-996.0999756,38.4000015,85.4945068,113,1,-1); //Police Ranger
    AddStaticVehicleEx(599,903.7000122,-1000.5999756,37.9000015,273.4901123,113,1,-1); //Police Ranger
    AddStaticVehicleEx(497,913.5000000,-1012.2999878,111.3000031,270.5000000,113,1,-1); //Police Maverick
    AddStaticVehicleEx(497,913.5999756,-1031.4000244,111.3000031,270.4998779,113,1,-1); //Police Maverick
    AddStaticVehicleEx(461,879.2000122,-1038.8000488,31.6000004,272.0000000,113,1,-1); //PCJ-600
    AddStaticVehicleEx(461,879.2000122,-1037.5999756,31.6000004,271.9995117,113,1,-1); //PCJ-600
Reply
#2

Nunca vi isso...
Tente fazer isso com cada veнculo:
pawn Код:
AddStaticVehicle(522,-22.5446,-216.9522,4.9942,175.9994,108,108);
Tente ver algo com MAX_VEHICLES tambйm no seu GM, talvez ele esteja limitando a 90 como vocк disse... aumenta isso
Reply
#3

Vou tentar
o topico й esse:
https://sampforum.blast.hk/showthread.php?tid=407822
o max esta certinho. nao arrumou
Valeu pela intensгo =D
Reply
#4

Quote:
Originally Posted by arakuta
Посмотреть сообщение
Nunca vi isso...
Tente fazer isso com cada veнculo:
pawn Код:
AddStaticVehicle(522,-22.5446,-216.9522,4.9942,175.9994,108,108);
Tente ver algo com MAX_VEHICLES tambйm no seu GM, talvez ele esteja limitando a 90 como vocк disse... aumenta isso
meus vsiculos estavam sem gasolina coloquei esse codigo no pawno salva certinhoa mas nao aparece no serve os veiculos ajuda

LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,515,2725.600 1000,-2391.3000500,14.8000000,0.0000000,9,48,15); //Roadtrain
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,515,2730.399 9000,-2391.5000000,14.8000000,0.0000000,248,241,15); //Roadtrain
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,515,2734.899 9000,-2391.6001000,14.8000000,0.0000000,-1,-1,15); //Roadtrain
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,515,2740.199 9500,-2391.5000000,14.8000000,0.0000000,72,26,15); //Roadtrain
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,514,2773.600 1000,-2414.8999000,14.3000000,92.0000000,-1,-1,15); //Tanker
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,514,2773.500 0000,-2418.6001000,14.3000000,92.0000000,72,26,15); //Tanker
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,514,2774.699 9500,-2453.8000500,14.3000000,92.0000000,129,43,15); //Tanker
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,514,2773.699 9500,-2458.8000500,14.3000000,92.0000000,9,48,15); //Tanker
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,514,2772.500 0000,-2496.5000000,14.3000000,92.0000000,248,241,15); //Tanker
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,514,2772.899 9000,-2492.8000500,14.3000000,92.0000000,14,47,15); //Tanker
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,455,2773.899 9000,-2474.5000000,14.2000000,92.0000000,-1,-1,15); //Flatbed
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,455,2775.199 9500,-2436.1001000,14.2000000,90.0000000,14,47,15); //Flatbed
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,578,2749.600 1000,-2393.3999000,14.4000000,156.0000000,9,48,15); //DFT-30
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,578,2754.399 9000,-2395.6001000,14.4000000,155.9950000,14,47,15); //DFT-30
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo,578,2759.399 9000,-2397.3000500,14.4000000,155.9950000,129,43,15); //DFT-30


ajuda ficarei grato!!!!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)