11.10.2014, 12:52
What's Wrong with this Code ?
It Gives me Error
The Line 25559 is the
pawn Код:
new szZone[MAX_ZONE_NAME];
GetPlayer2DZone(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);
}
Код:
C:\New folder (2)\gamemodes\PRRP.pwn(25559) : warning 213: tag mismatch C:\New folder (2)\gamemodes\PRRP.pwn(25559) : warning 213: tag mismatch C:\New folder (2)\gamemodes\PRRP.pwn(25559) : error 035: argument type mismatch (argument 3)
pawn Код:
GetPlayer2DZone(HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorX], HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorY], szZone, MAX_ZONE_NAME);