SA-MP Forums Archive
How to know the interior ID - 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)
+--- Thread: How to know the interior ID (/showthread.php?tid=364437)



How to know the interior ID - kbalor - 30.07.2012

So my problem is when I go to a Interior place like CJ House or Johnsons House.
My player falls nowhere.

This is the script. I think i did something wrong, take a look.

pawn Код:
SetPlayerPos(playerid, 2495.8655,-1707.7054,1014.7422);
SetPlayerFacingAngle(playerid, 0.0);
SetPlayerInterior(playerid, 0);
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "{6666FF}(/cj) {00CCFF}%s {6666FF}has Teleported to Johnson House",pName);
SendClientMessageToAll(0x6666FFFF, string);
SetPlayerVirtualWorld(playerid, 0);
return GameTextForPlayer(playerid,"~y~Welcome to ~n~~b~Johnson House House",2000,3);



Re: How to know the interior ID - LaGrande - 30.07.2012

u can know the interiors by /interior


Re: How to know the interior ID - doreto - 30.07.2012

https://sampwiki.blast.hk/wiki/GetPlayerInterior


Re: How to know the interior ID - kbalor - 30.07.2012

Thanks working like a charm +rep both