Guten Tag liebe User, habe ein Problem und zwar legte ich medic cars an und es geht aber nicht
new arztcars[8];
arztcars[0] = CreateVehicle(416,1142.9417,-1364.7323,13.8842,357.9811,1,3,600);
arztcars[1] = CreateVehicle(416,1148.1051,-1365.1404,13.8628,1.2960,1,3,600);
arztcars[2] = CreateVehicle(416,1146.2664,-1313.2314,13.8110,42.4092,1,3,600);
arztcars[3] = CreateVehicle(416,1146.1995,-1306.7705,13.8148,47.5450,1,3,600);
arztcars[4] = CreateVehicle(416,1122.3146,-1330.7096,13.2569,0.3985,1,3,600);
arztcars[5] = CreateVehicle(416,1125.9086,-1330.6322,13.2658,0.0308,1,3,600);
arztcars[6] = CreateVehicle(563,1163.2244,-1303.1514,32.1989,268.9948,1,3,600);
arztcars[7] = CreateVehicle(487,1161.8014,-1322.2924,31.6680,270.5953,1,3,600);
else if(vehicleid >= arztcars[0] && vehicleid <= arztcars[8])
{
if(PlayerInfo[playerid][pMember] != 4 && PlayerInfo[playerid][pLeader] != 4)
{
RmPlFromFrakCar(playerid, "der Medics"); }
}
und dann dieser Error:
C:\Users\User\Desktop\Alles\Scripting ftw\Server\gamemodes\Reallifeservertest.pwn(8327) : error 032: array index out of bounds (variable "arztcars")
könnte mir einer Helfen bitte....
Mfg
Scripter bob