How to fix it!
#1

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;
        }
Reply
#2

you have
pawn Код:
#define MAX_ZONE_NAME 38
?
Reply
#3

You didnt define 'MAX_ZONE_NAME'.
pawn Код:
#define MAX_ZONE_NAME amountofzonesyouhave
Change 'amountofzonesyouhave' to the zones you have.
Reply
#4

isn't amount of zones is the length of zone name
check this out http://pastebin.com/f68e1a6ad
Reply
#5

Quote:
Originally Posted by [ISS]jumbo
Посмотреть сообщение
you have
pawn Код:
#define MAX_ZONE_NAME 38
?
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
Reply
#6

check the link i post
Reply
#7

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
Reply
#8

pawn Код:
#pragma dynamic Number
Number = try 20000
Reply
#9

Thanks alot! +rep!
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)