[HELP]Some vehicles spawns wrong place - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Some vehicles spawns wrong place (
/showthread.php?tid=81259)
[HELP]Some vehicles spawns wrong place -
KeyWay - 09.06.2009
Hey,
SOME my server vehicles spawns a littlebit wrong place, i mean same place but like 5meters away for REAL spawn. I need to make /respawnallcars to spawn them correctly. + The cars i make like factioncar = CreateVehicle(..); etc they wont spawn if i make /respawnallcars.
Whats the problem?
Re: [Help]Some vehicles spawns wrong place -
BMUK - 09.06.2009
The cars spawn quicker than the ground. So when the GM starts, the cars fall through the ground and spawn in the different place. Atleast thats what I think lol
You could try spawning the cars with an increased z (height) but I tried that and they still fell
Re: [Help]Some vehicles spawns wrong place -
KeyWay - 09.06.2009
Hmm thas weird...
Re: [HELP]Some vehicles spawns wrong place -
KeyWay - 11.06.2009
So what should i do? increase evry single car Z ?
Re: [HELP]Some vehicles spawns wrong place -
SpiderPork - 11.06.2009
Or maybe freeze them upon their spawn and unfreeze after some time.
Re: [HELP]Some vehicles spawns wrong place -
KeyWay - 11.06.2009
Quote:
Originally Posted by SpiderPork
Or maybe freeze them upon their spawn and unfreeze after some time.
|
How?
Re: [HELP]Some vehicles spawns wrong place -
woot - 11.06.2009
Quote:
Originally Posted by KeyWay
Quote:
Originally Posted by SpiderPork
Or maybe freeze them upon their spawn and unfreeze after some time.
|
How?
|
Loop through all vehicles and freeze them, SetTimer, loop again through all vehicles and unf.. oh wait, that doesn't even work, you can't freeze vehicles without a player inside.
Re: [HELP]Some vehicles spawns wrong place -
KeyWay - 11.06.2009
Quote:
Originally Posted by //exora
Quote:
Originally Posted by KeyWay
Quote:
Originally Posted by SpiderPork
Or maybe freeze them upon their spawn and unfreeze after some time.
|
How?
|
Loop through all vehicles and freeze them, SetTimer, loop again through all vehicles and unf.. oh wait, that doesn't even work, you can't freeze vehicles without a player inside.
|
Great...
Re: [HELP]Some vehicles spawns wrong place -
Abernethy - 12.06.2009
Yeah I think it's where you've to many Vehicles in a certain radius. It has happened to me also.
Re: [HELP]Some vehicles spawns wrong place -
KeyWay - 12.06.2009
Quote:
Originally Posted by Abernethy
Yeah I think it's where you've to many Vehicles in a certain radius. It has happened to me also.
|
How did you fixed it? If you fixed it.
How many is "too many" at certain radius?
There must be something to do.. Cause i have seen servers that haves like over 100 cars at one radius, and all spawn nicely.