Spawn Problem/Virtual World Problem
#5

Code:
		if(house !=999)
		{
		  if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
		  {
				SetPlayerToTeamColor(playerid);
				SetPlayerInterior(playerid,HouseInfo[house][hInt]);
				SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);
				SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
				PlayerInfo[playerid][pLocal] = house;
				HouseEntered[playerid] = house;
				PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
				return 1;
			}
		}
is this code the problem?
they are all set at 0
its just as soon as you connect to the server you spawn outside with vw of 1
Reply


Messages In This Thread
Spawn Problem/Virtual World Problem - by Globe2009 - 05.11.2009, 00:17
Re: Spawn Problem/Virtual World Problem - by Devine - 05.11.2009, 01:33
Re: Spawn Problem/Virtual World Problem - by Peter_Corneile - 05.11.2009, 01:34
Re: Spawn Problem/Virtual World Problem - by Devine - 05.11.2009, 01:35
Re: Spawn Problem/Virtual World Problem - by Globe2009 - 05.11.2009, 01:51
Re: Spawn Problem/Virtual World Problem - by Peter_Corneile - 05.11.2009, 09:12

Forum Jump:


Users browsing this thread: 1 Guest(s)