Help . Don't Snobb - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help . Don't Snobb (
/showthread.php?tid=541355)
Help . Don't Snobb -
Jdt - 11.10.2014
What's Wrong with this Code ?
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);
}
It Gives me Error
Код:
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)
The Line 25559 is the
pawn Код:
GetPlayer2DZone(HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorX], HouseInfo[PlayerInfo[iTarget][pHouse2]][hExteriorY], szZone, MAX_ZONE_NAME);