Is this Vitrual World bug?
#1

pawn Код:
else if(pickupid == bcsd)
  {
    SetPlayerPos(playerid, 246.783996,63.900199,1003.640625);
    SetPlayerVirtualWorld(playerid, -1);
    SetPlayerInterior(playerid, 6);
    SendClientMessage(playerid, COLOR_GOLD,"[INFO]You entered the BCSD Office.");
  }
  else if(pickupid == bcsdex)
  {
    SetPlayerPos(playerid, -217.0885,979.6011,19.5008);
    SetPlayerVirtualWorld(playerid, -1);
    SetPlayerInterior(playerid, 0);
    SendClientMessage(playerid, COLOR_GOLD,"[INFO]You exited the BCSD Office.");
  }
When i exit i see the map but i dont see any vehicle +REP!
Reply
#2

Yes, you should change a virtual world to 0 when you are exiting building, so it will looks like:
pawn Код:
else if(pickupid == bcsd)
  {
    SetPlayerPos(playerid, 246.783996,63.900199,1003.640625);
    SetPlayerVirtualWorld(playerid, -1);
    SetPlayerInterior(playerid, 6);
    SendClientMessage(playerid, COLOR_GOLD,"[INFO]You entered the BCSD Office.");
  }
  else if(pickupid == bcsdex)
  {
    SetPlayerPos(playerid, -217.0885,979.6011,19.5008);
    SetPlayerVirtualWorld(playerid, 0); // not -1
    SetPlayerInterior(playerid, 0);
    SendClientMessage(playerid, COLOR_GOLD,"[INFO]You exited the BCSD Office.");
  }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)