help with leave interior please(solved thanks anyway)
#1

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
  if(pickupid == Pickup1)
{
  SetPlayerPos(playerid,286.148986,-40.644397,1001.515625);
  SetPlayerInterior(playerid, 1);
}
	else if(pickupid == Pickup2)
{
  SetPlayerPos(playerid,-1990.7128,885.8662,45.2499);
  SetPlayerInterior(playerid, 0);
}
When i enter checkpoint it works great i end up in interior but when i leave and walk into checkpoint i go outside but its all grey and i cant see any building, vehicles ect.... ?
Reply
#2

try to change the
else if
to else
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)