SA-MP Forums Archive
Help i got 5 errors! - 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 i got 5 errors! (/showthread.php?tid=383710)



Help i got 5 errors! - edgargreat - 08.10.2012

I got 5 erros here, please help, i'm only a begginer on scripting

Here is the errors.
Код:
C:\Users\aNdRe\Downloads\EXELGRP - Copy\Gamemode\HRP_9.0.pwn(25103) : error 017: undefined symbol "Get2DPosZone"
C:\Users\aNdRe\Downloads\EXELGRP - Copy\Gamemode\HRP_9.0.pwn(25110) : error 017: undefined symbol "Get2DPosZone"
C:\Users\aNdRe\Downloads\EXELGRP - Copy\Gamemode\HRP_9.0.pwn(56742) : error 017: undefined symbol "Get3DZone"
C:\Users\aNdRe\Downloads\EXELGRP - Copy\Gamemode\HRP_9.0.pwn(56742) : warning 202: number of arguments does not match definition
C:\Users\aNdRe\Downloads\EXELGRP - Copy\Gamemode\HRP_9.0.pwn(56776) : error 017: undefined symbol "Get3DZone"
C:\Users\aNdRe\Downloads\EXELGRP - Copy\Gamemode\HRP_9.0.pwn(56776) : warning 202: number of arguments does not match definition
C:\Users\aNdRe\Downloads\EXELGRP - Copy\Gamemode\HRP_9.0.pwn(59725) : error 017: undefined symbol "Get3DZone"
C:\Users\aNdRe\Downloads\EXELGRP - Copy\Gamemode\HRP_9.0.pwn(59725) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Line 25103
Код:
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);
25110
Код:
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);
56742
Код:
Get3DZone(carPos[0], carPos[1], carPos[2], zone, sizeof(zone));
				format(string, sizeof(string), "Your vehicle is located in %s.", zone);
				SendClientMessage(playerid, COLOR_YELLOW, string);
				SetPlayerCheckpoint(playerid, carPos[0], carPos[1], carPos[2], 15.0);
				SendClientMessage(playerid, COLOR_WHITE, "Hint: Make your way to the checkpoint to find your vehicle!");
56776
Код:
					    	Get3DZone(carPos[0], carPos[1], carPos[2], zone, sizeof(zone));
					    	format(string, sizeof(string), "Your vehicle is located in %s.", zone);
					    	SendClientMessage(playerid, COLOR_YELLOW, string);
					    	SetPlayerCheckpoint(playerid, carPos[0], carPos[1], carPos[2], 15.0);
					    	SendClientMessage(playerid, COLOR_WHITE, "Hint: Make your way to the checkpoint to find your car!")
59725
Код:
					Get3DZone(X, Y, Z, zone, sizeof(zone));
					new string[128];
					format(string, sizeof(string), "Your patient is located in %s.", zone);
					SetPlayerCheckpoint(i, X, Y, Z, 5);
Help thanks.


Re: Help i got 5 errors! - Lordzy - 08.10.2012

Those functions aren't made or defined in the script.


Re: Help i got 5 errors! - edgargreat - 08.10.2012

How?


Re : Help i got 5 errors! - yusei - 08.10.2012

Include this library.
open
a_zones.inc

and replace all the text by the text on thi link


Re: Help i got 5 errors! - edgargreat - 09.10.2012

Still. I got errors. Same errors.


Re: Help i got 5 errors! - edgargreat - 09.10.2012

anyone can help?


Re: Help i got 5 errors! - Jarnu - 09.10.2012

Are you sure you put

Код:
#include <a_zones>
On the top of your GM

also are you sure you put that include in your .../pawno/includes directory?

Please make sure and reply

Thank you


Re: Help i got 5 errors! - edgargreat - 09.10.2012

Yes, still same errors.


Re: Help i got 5 errors! - edgargreat - 09.10.2012

i think i need all new updated includes? Can some one give all includes that are updated?


Re: Help i got 5 errors! - edgargreat - 09.10.2012

Anyone?