SA-MP Forums Archive
Car spawns messed up - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Car spawns messed up (/showthread.php?tid=324800)



Car spawns messed up - Dripac - 10.03.2012

If i join the server and spawn in an interior, then go outside the cars are spawned wrongly, they are all on the streets and some falling from the sky, but normally they are parked alright, what could cause that?


Re: Car spawns messed up - SnG.Scot_MisCuDI - 10.03.2012

make sure the cords of the spawn arent messed up


Re: Car spawns messed up - Marduk_Malverde - 10.03.2012

Also check the Vitual World


AW: Car spawns messed up - Dripac - 16.03.2012

I have 8 factions, every spawn is in a interior and the code is same just with other coordinates

So it's not a VirtualWorld problem i think

Anyone know how to fix?


Re: Car spawns messed up - Unknownich - 16.03.2012

If you spawn vehicle in interior they will fall from the sky because interiors are high in the sky. The problem is that, when you left interior (when your int. is 0), you cant see other interiors anymore so you see cars falling down, but for people who are in that interior that car is still there.


Re: Car spawns messed up - Dripac - 16.03.2012

Quote:
Originally Posted by Unknownich
Посмотреть сообщение
If you spawn vehicle in interior they will fall from the sky because interiors are high in the sky. The problem is that, when you left interior (when your int. is 0), you cant see other interiors anymore so you see cars falling down, but for people who are in that interior that car is still there.
No i dont spawn vehicles in interiors, i spawn them at grove street, and after i exit the grove street interior they are all messed up in the middle


Re: Car spawns messed up - Unknownich - 16.03.2012

Quote:
Originally Posted by Dripac
Посмотреть сообщение
No i dont spawn vehicles in interiors, i spawn them at grove street, and after i exit the grove street interior they are all messed up in the middle
You mean, when you exit CJ's house and get back to grove street cars are "messed up"? Strange...
If this happen with other interiors to, could be bug in your script


Re: Car spawns messed up - Dripac - 16.03.2012

Quote:
Originally Posted by Unknownich
Посмотреть сообщение
You mean, when you exit CJ's house and get back to grove street cars are "messed up"? Strange...
If this happen with other interiors to, could be bug in your script
No,

I am joining the server, and i am a Grove Street Gang Leader, so i spawn in the CJ house, after i type /exit to exit the house all the nearest car spawns are messed up, means they spawn in the middle of the streets

but if i spawn somewhere else (example LSPD) and go to Grove Street, the cars are standing normal at their position


Re: Car spawns messed up - Alexy_Dramon - 16.03.2012

huh try to spawn to script the Cars again thats not so hard, just De bug them and see if it's helping


Re: Car spawns messed up - Alexy_Dramon - 16.03.2012

Код:
    AddStaticVehicle(536,2492.6748,-1684.2107,13.1571,92.1199,144,144); // Grove
    AddStaticVehicle(536,2510.3352,-1687.4301,13.2980,48.8505,144,144); // Grove
    AddStaticVehicle(550,2479.8359,-1653.2838,13.2060,90.8711,144,144); // Grove Car
    AddStaticVehicle(566,2499.9319,-1654.2780,13.2214,73.4831,144,144); // Grove car
    AddStaticVehicle(567,2516.6387,-1671.9833,13.7947,66.8486,144,144); // GroveCar
there you go good Grove Cars huh i you wanna Change the Mod ID

Код:
AddStaticVehicle(536,2492.6748,-1684.2107,13.1571,92.1199,144,144); // Grove
change the number (536) To Any car ID you wannt to like (560) It's Sultan
Код:
AddStaticVehicle(536
there we change the Car ID
Код:
AddStaticVehicle(560
now make it Like this
Код:
AddStaticVehicle(560,2492.6748,-1684.2107,13.1571,92.1199,144,144); // Grove
huh there you have Car spawned and not parking in Sky