SA-MP Forums Archive
Interior - 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 (/showthread.php?tid=135680)



Interior - DupE - 21.03.2010

Hi, I made a teleport to the interior, and when I signed the team flying between the heaven.
Here's the code:
Код:
if(!strcmp(cmdtext, "/game_save"))
  {
    SetPlayerPos(playerid, 2233.7468, -1165.6075, 1029.7969);
    SendClientMessage(playerid, 0x33AA33AA, "To back:/exit_save");
    return 1;
  }
My bad English


Re: Interior - DupE - 21.03.2010

Help, please :{


Re: Interior - Miguel - 21.03.2010

You must take the player to the interior first:

pawn Код:
// add this before 'SetPlayerPos'.
SetPlayerInterior(playerid, interiorid); // change interiorid for the id of the interior you wanna take them to.