10.05.2010, 16:23
Its putting you in burger shot because your doing this:
Your setting the players pos to coordinates for the hospital, You then change the interior for hospital. ID 0
Then after all that you set the players pos to coordinates for burger short, You then change the interior for burger shot. ID 10
So your putting the player in hospital and then as soon as thats done it puts you in burgershot, Use IsPlayerInRangeOfPoint to check if player is near a burger shot enterance or hospital
Your setting the players pos to coordinates for the hospital, You then change the interior for hospital. ID 0
Then after all that you set the players pos to coordinates for burger short, You then change the interior for burger shot. ID 10
So your putting the player in hospital and then as soon as thats done it puts you in burgershot, Use IsPlayerInRangeOfPoint to check if player is near a burger shot enterance or hospital