25.08.2010, 00:42
pawn Код:
for(new i; i<MAX_HOUSES; i++)
{
if(!strcmp(Ime, HouseInfo[i][HouseOwner]))
{
SetPlayerPos(playerid, HouseInfo[i][TeleX], HouseInfo[i][TeleY], HouseInfo[i][TeleZ]);
SetPlayerInterior(playerid, HouseInfo[i][Interior]);
InHouse[playerid] = i;
SetPlayerVirtualWorld(playerid, HouseInfo[i][Virtual]);
}
}