[Ajuda] Veнculos sem gasolina
#1

Galera, eu estou com problemas na criaзгo de novos veнculos no meu gm (base PPC_Truckin). Enfim, os veнculos que eu crio iniciam sem gasolina e nгo sei resolver esse problema. Serб que alguйm pode me ajudar a resolver esse problema? preciso disso pra continuar a ediзгo do meu server ^^
Reply
#2

passe o cmd de criar veiculo
Reply
#3

Criei o veiculo no MTA e passei pro GM
Reply
#4

Cara vocк teque colocar assim quando cria no PPC_TRUCKING:
pawn Код:
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600);
Me manda o cуdigo apenas do veiculo que vocк criou..
Reply
#5

aqui! sгo ambulвncias..

AddStaticVehicleEx(416,1187.3000500,-1308.0000000,13.9000000,270.0000000,245,245,15); //Ambulance
AddStaticVehicleEx(416,1187.2998000,-1339.0000000,13.9000000,270.0000000,245,245,15); //Ambulance
AddStaticVehicleEx(416,1187.2998000,-1335.0000000,13.9000000,270.0000000,245,245,15); //Ambulance
AddStaticVehicleEx(416,1187.2998000,-1312.0000000,13.9000000,270.0000000,245,245,15); //Ambulance
AddStaticVehicleEx(416,-2545.5000000,599.0999800,14.8000000,90.0000000,245 ,245,15); //Ambulance
AddStaticVehicleEx(416,-2545.5000000,587.0996100,14.8000000,90.0000000,245 ,245,15); //Ambulance
AddStaticVehicleEx(416,-2545.5000000,610.0996100,14.8000000,90.0000000,245 ,245,15); //Ambulance
AddStaticVehicleEx(416,1608.1999500,1840.4000200,1 1.1000000,0.0000000,245,245,15); //Ambulance
AddStaticVehicleEx(416,1604.0999800,1840.4000200,1 1.1000000,0.0000000,245,245,15); //Ambulance
AddStaticVehicleEx(416,1612.8000500,1840.5000000,1 1.1000000,0.0000000,245,245,15); //Ambulance

//edit

Consegui criar os veнculos mas eles continuam sem gasolina. A ъnica diferenзa й que quando saio do veнculo ele re-spawna preto (era verde) e com gasolina
Reply
#6

Manda a variбvel de gasolina sua ae
Reply
#7

Na verdade acho que й oque o Thiago falou, mas agora ele esta ocupado, sera que mais alguйm pode ajudar?
Reply
#8

Consegui resolver galera, й realmente oque o Thiago falou, sу tive que adicionar algumas coisas no .inc do server. Valeu Thiago, obrigado por me ajudar mais uma vez! Estou pensando seriamente em botar seu nome dos crйditos do server, se vocк nгo se importar, claro.
Reply
#9

Quote:
Originally Posted by ThiagoMK
Посмотреть сообщение
Cara vocк teque colocar assim quando cria no PPC_TRUCKING:
pawn Код:
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600);
Me manda o cуdigo apenas do veiculo que vocк criou..
eu coloco os codigo que vc passou e nao apaece os caminhoes no serve ajuda ai por favor

turila2013@hotmail.com

veiculos criado e convertido

AddStaticVehicleEx(515,2725.6001000,-2391.3000500,14.8000000,0.0000000,9,48,15); //Roadtrain
AddStaticVehicleEx(515,2730.3999000,-2391.5000000,14.8000000,0.0000000,248,241,15); //Roadtrain
AddStaticVehicleEx(515,2734.8999000,-2391.6001000,14.8000000,0.0000000,-1,-1,15); //Roadtrain
AddStaticVehicleEx(515,2740.1999500,-2391.5000000,14.8000000,0.0000000,72,26,15); //Roadtrain
AddStaticVehicleEx(514,2773.6001000,-2414.8999000,14.3000000,92.0000000,-1,-1,15); //Tanker
AddStaticVehicleEx(514,2773.5000000,-2418.6001000,14.3000000,92.0000000,72,26,15); //Tanker
AddStaticVehicleEx(514,2774.6999500,-2453.8000500,14.3000000,92.0000000,129,43,15); //Tanker
AddStaticVehicleEx(514,2773.6999500,-2458.8000500,14.3000000,92.0000000,9,48,15); //Tanker
AddStaticVehicleEx(514,2772.5000000,-2496.5000000,14.3000000,92.0000000,248,241,15); //Tanker
AddStaticVehicleEx(514,2772.8999000,-2492.8000500,14.3000000,92.0000000,14,47,15); //Tanker
AddStaticVehicleEx(455,2773.8999000,-2474.5000000,14.2000000,92.0000000,-1,-1,15); //Flatbed
AddStaticVehicleEx(455,2775.1999500,-2436.1001000,14.2000000,90.0000000,14,47,15); //Flatbed
AddStaticVehicleEx(578,2749.6001000,-2393.3999000,14.4000000,156.0000000,9,48,15); //DFT-30
AddStaticVehicleEx(578,2754.3999000,-2395.6001000,14.4000000,155.9950000,14,47,15); //DFT-30
AddStaticVehicleEx(578,2759.3999000,-2397.3000500,14.4000000,155.9950000,129,43,15); //DFT-30
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)