Retrieves the player's current interior. A list of currently known interiors with their positions can be found on this page.
|playerid||The player to get the interior ID of.|
The interior ID the player is currently in
if (strcmp(cmdtext,"/int",true) == 0)
format(string, sizeof(string), "You are in interior %i",GetPlayerInterior(playerid));
SendClientMessage(playerid, 0xFF8000FF, string);
Always returns 0 for NPCs.