24.06.2015, 13:30
I'm not pretty sure, but you can try this :
PHP код:
public OnGameModeInit()
{
SetTimer("CheckInterior",3000,1);
return 1;
}
forward CheckInterior(playerid);
public CheckInterior(playerid)
{
new string[128];
format(string, sizeof(string), "You are in : %i", GetPlayerInterior(playerid));
GameTextForPlayer(playerid, string, 3000, 5);
}