How to fix it! - 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: How to fix it! (
/showthread.php?tid=289587)
How to fix it! -
Chris_Morrison - 12.10.2011
I have this errors:
pawn Код:
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(5881) : error 017: undefined symbol "MAX_ZONE_NAME"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(5881) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(5881) : error 036: empty statement
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(5881) : fatal error 107: too many error messages on one line
The line:
pawn Код:
new zone[MAX_ZONE_NAME];
GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
new strv[256];
format(strv, sizeof(strv), "Your %s is parked here(in %s)", VehicleNames[GetVehicleModel(vehi)-400], zone);
SendClientMessage(playerid, COLOR_YELLOW, strv);
VCP[playerid] = 0;
if(veh1[playerid] == vehi)
veh1[playerid] = 999;
if(veh2[playerid] == vehi)
veh2[playerid] = 999;
if(veh3[playerid] == vehi)
veh3[playerid] = 999;
if(veh4[playerid] == vehi)
veh4[playerid] = 999;
if(veh5[playerid] == vehi)
veh5[playerid] = 999;
VehicleInfo[vehi][vOwned] = 0;
DisablePlayerCheckpoint(playerid);
EraseVehicle(vehi);
TogglePlayerControllable(playerid, 1);
return 1;
}
Re: How to fix it! -
iJumbo - 12.10.2011
you have
?
Re: How to fix it! -
Wesley221 - 12.10.2011
You didnt define 'MAX_ZONE_NAME'.
pawn Код:
#define MAX_ZONE_NAME amountofzonesyouhave
Change 'amountofzonesyouhave' to the zones you have.
Re: How to fix it! -
iJumbo - 12.10.2011
isn't amount of zones is the length of zone name
check this out
http://pastebin.com/f68e1a6ad
Re: How to fix it! -
Chris_Morrison - 12.10.2011
Quote:
Originally Posted by [ISS]jumbo
|
Errors
pawn Код:
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(5883) : error 017: undefined symbol "GetPlayer2DZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(13551) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(13552) : error 017: undefined symbol "IsPlayerInZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(36702) : error 017: undefined symbol "GetPlayer2DZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(42678) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(42706) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(42734) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(42762) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(42790) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(42834) : error 017: undefined symbol "GetPlayer2DZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(42910) : error 017: undefined symbol "GetPlayer2DZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43476) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43476) : error 017: undefined symbol "GetPlayer2DZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43508) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43508) : error 017: undefined symbol "GetPlayer2DZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43537) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43537) : error 017: undefined symbol "GetPlayer2DZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43566) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43566) : error 017: undefined symbol "GetPlayer2DZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43595) : error 017: undefined symbol "GetVehicleZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(43595) : error 017: undefined symbol "GetPlayer2DZone"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(49838) : warning 203: symbol is never used: "ret_memcpy"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(49838) : warning 203: symbol is never used: "zarea"
C:\Documents and Settings\Administrator.WINXPSP3\שולחן העבודה\windows\gamemodes\GRP.pwn(49838) : warning 203: symbol is never used: "zones"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
21 Errors.
And how to find all zones i have
Re: How to fix it! -
iJumbo - 12.10.2011
check the link i post
Re: How to fix it! -
Chris_Morrison - 12.10.2011
Fixed But i have this
How to fix it
pawn Код:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 10872 bytes
Code size: 2034312 bytes
Data size: 12734724 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:14796292 bytes
I want it will be like this
pawn Код:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Re: How to fix it! -
iJumbo - 12.10.2011
Number = try 20000
Re: How to fix it! -
Chris_Morrison - 12.10.2011
Thanks alot! +rep!