12.10.2011, 07:47
I have this errors:
The line:
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
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;
}