BUG? Vehicles not spawning correctly after getting out of an interior - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: BUG? Vehicles not spawning correctly after getting out of an interior (
/showthread.php?tid=372944)
BUG? Vehicles not spawning correctly after getting out of an interior -
[MWR]Blood - 28.08.2012
Alright, I added some vehicles near CJ's house.
The problem is that, when I teleport into the house, I get out of it, the vehicles are spawned randomly - not at the places they're supposed to be...
I went away from the vehicles, came back again... and they were spawned correctly.
Respuesta: BUG? Vehicles not spawning correctly after getting out of an interior -
EduGTA - 29.08.2012
I've got this problem a long time ago, my friend say'd it's because CJ's house interior is above Groove Street, not sure if it's a efficient fix but here it goes:
pawn Код:
#define WORLD_VIRTUAL_INTERIORS 9731 // Random number
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
if(newinteriorid != 0)
SetPlayerVirtualWorld(playerid, WORLD_VIRTUAL_INTERIORS);
else if(oldinteriorid != 0) SetPlayerVirtualWorld(playerid, 0);
return 1;
}
Re: BUG? Vehicles not spawning correctly after getting out of an interior -
[MWR]Blood - 31.08.2012
It doesn't only happen in CJ's house.
Re: BUG? Vehicles not spawning correctly after getting out of an interior -
Jochemd - 31.08.2012
It also randomly happens when I exit an interior and get spawned outside to Blueberry. All vehicles will be at a different place dacing north.