04.03.2014, 13:05
pawn Код:
new Float:x, Float:y, Float:z, Msg[128], ZoneMsg[128], HLocation[MAX_ZONE_NAME];
GetPlayerPos(playerid, x, y, z);
hInfo[HouseID][HouseX] = x;
hInfo[HouseID][HouseY] = y;
hInfo[HouseID][HouseZ] = z;
hInfo[HouseID][HouseInterior] = Interior;
hInfo[HouseID][HousePrice] = Price;
GetPlayer2DZone(HouseID, HLocation, MAX_ZONE_NAME);
format(ZoneMsg, sizeof(ZoneMsg), "%s", HLocation);
hInfo[HouseID][HouseLocation] = ZoneMsg;
hInfo[HouseID][Owned] = false;
Код:
C:\Users\*******\Desktop\LHF Server\SERVER\gamemodes\LHF.pwn(2461) : error 006: must be assigned to an array
hInfo[HouseID][HouseLocation] = ZoneMsg;
plz help me