C:\Users\Yannik\Desktop\FoS systeme\gamemodes\jobs.pwn(119) : error 028: invalid subscript (not an array or too many subscripts): "FlugPlaneZielCoordination"
C:\Users\Yannik\Desktop\FoS systeme\gamemodes\jobs.pwn(119) : error 076: syntax error in the expression, or invalid function call
C:\Users\Yannik\Desktop\FoS systeme\gamemodes\jobs.pwn(119) : error 029: invalid expression, assumed zero
C:\Users\Yannik\Desktop\FoS systeme\gamemodes\jobs.pwn(119) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
C
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 519)
{
flyjobrunning = 1;
new FlugPlaneZielCoordination = random(sizeof(PilotPlaneFrachtZiele));
new FlugPlaneladung = random(sizeof(PilotPlaneFracht));
SetPlayerCheckpoint(playerid, FlugPlaneZielCoordination[random][0],FlugPlaneZielCoordination[random][2],FlugPlaneZielCoordination[random][3], 10);
new string[128],string2[128];
format(string, sizeof(string), "Zielort: %s", FlugPlaneZielCoordination[random][4]);
format(string2, sizeof(string2), "Ladung: %s", FlugPlaneladung[random][0]);
SendClientMessage(playerid, string);
SendClientMessage(playerid, string2);
return 1;
}
Alles anzeigen