How to know the interior ID
#1

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);
Reply
#2

u can know the interiors by /interior
Reply
#3

https://sampwiki.blast.hk/wiki/GetPlayerInterior
Reply
#4

Thanks working like a charm +rep both
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)