[HELP]Static Vehicle -
zack3021 - 12.10.2010
When i add a vehicle on my GM, another one spawns either in it or ontop of it.
Example.
i type /save sultan
When i go in the Gm, i see two sultans, one at top and one at bottom, but i only have the cords for one vehicle, it works only with the SAPD cars, Patriot, and at-400 (i have not seen it with any other car)
Re: [HELP]Static Vehicle -
DayDay[NE-RP] - 12.10.2010
post the line of your cars in your script, that you just made here, ill look at it.
Re: [HELP]Static Vehicle -
zack3021 - 12.10.2010
Ok here are the lines that the vehicels are, and i have no other vehicles with these positions.
pawn Код:
public OnGameModeInit()
{
AddStaticVehicle(470,2756.0439,730.9312,11.0992,270.4599,43,0); // Patriot
AddStaticVehicle(470,2756.4019,715.2147,11.1016,271.3373,43,0); // Patriot1
AddStaticVehicle(598,2756.0566,719.4593,10.8476,93.1945,0,1); // LVPD1
AddStaticVehicle(598,2756.4419,724.8686,10.8497,90.8881,0,1); // LVPD
return 1;
}
These are not all the vehicles i have, but these are where it creates two of the same vehicle.
Re: [HELP]Static Vehicle -
DayDay[NE-RP] - 12.10.2010
Quote:
Originally Posted by zack3021
Ok here are the lines that the vehicels are, and i have no other vehicles with these positions.
pawn Код:
public OnGameModeInit() { AddStaticVehicle(470,2756.0439,730.9312,11.0992,270.4599,43,0); // Patriot AddStaticVehicle(470,2756.4019,715.2147,11.1016,271.3373,43,0); // Patriot1 AddStaticVehicle(598,2756.0566,719.4593,10.8476,93.1945,0,1); // LVPD1 AddStaticVehicle(598,2756.4419,724.8686,10.8497,90.8881,0,1); // LVPD return 1; }
These are not all the vehicles i have, but these are where it creates two of the same vehicle.
|
it looks like your vehicles are very close together, why dont you try making them more apart?
Re: [HELP]Static Vehicle -
zack3021 - 12.10.2010
That won't work cuz i see on servers where vehicels are real close, but what i dont get, why did the vehicles get multiplied by 2?
Re: [HELP]Static Vehicle -
Steven82 - 12.10.2010
Quote:
Originally Posted by zack3021
That won't work cuz i see on servers where vehicels are real close, but what i dont get, why did the vehicles get multiplied by 2?
|
Your the one that made them multiple by 2..........some how
Re: [HELP]Static Vehicle -
Austin - 12.10.2010
Why not copy the whole of the coords "2756.0439,730.9312,11.0992,270" and search it in your script... see if you find it twice.
*off topic* I do remember once getting some code in a MAX_PLAYERS loop for vehicle creation, and it was hilarious seeing those 200 vehicles spawn on top of each other

.
Re: [HELP]Static Vehicle -
zack3021 - 12.10.2010
I made a silly mistake, i had the coords in my Gm and in another FS. Thanks to you all
Re : [HELP]Static Vehicle -
Alex Deregio - 21.02.2011
pawn Код:
for(new h = 184; h < sizeof(CarInfo); h++)
{
CreateVehicle(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
}
// place your cars here
You need Like that