BUG? Vehicles not spawning correctly after getting out of an interior
#1

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.
Reply
#2

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;
}
Reply
#3

It doesn't only happen in CJ's house.
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)