17.10.2011, 04:04
Old SA:MP bug and confirmed. Happens sometimes when you exit from CJ's closet from the house. You could try this code:
pawn Code:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
if((newinteriorid == 5 || newinteriorid == 2 || newinteriorid == 12) && GetPlayerVirtualWorld(playerid) == 0) SetPlayerVirtualWorld(playerid, 1);
if((oldinteriorid == 5 || oldinteriorid == 2 || oldinteriorid == 12) && newinteriorid == 0 && GetPlayerVirtualWorld(playerid) == 1) SetPlayerVirtualWorld(playerid, 0);
return 1;
}