26.12.2014, 19:45
Код:
Get2DPosZone(HouseInfo[PlayerInfo[iTarget][pHouse]][hExteriorX], HouseInfo[PlayerInfo[iTarget][pHouse]][hExteriorY], szZone, MAX_ZONE_NAME); format(szMessage, sizeof(szMessage), "House: %d %s", PlayerInfo[iTarget][pHouse], szZone); SendClientMessage(playerid, COLOR_WHITE, szMessage); } else if(PlayerInfo[iTarget][pHouse2] != INVALID_HOUSE_ID) { new szZone[MAX_ZONE_NAME]; Get2DPosZone(HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorX], HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorY], szZone, MAX_ZONE_NAME); format(szMessage, sizeof(szMessage), "House (2): %d %s", PlayerInfo[iTarget][pHouse2], szZone); SendClientMessage(playerid, COLOR_WHITE, szMessage);