SA-MP Forums Archive
Interior Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Interior Help (/showthread.php?tid=95806)



Interior Help - bubka3 - 05.09.2009

Is there something like this,
If ur in any interior but 0 it sends a message dont matter what call back.


Re: Interior Help - Clavius - 05.09.2009

pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
  if (newinteriorid != 0)
  {
    SendClientMessage(playerid, color_something, "You are now in some interior.");
    // do something
  }
}