C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57324) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57325) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57326) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57327) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57328) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57336) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57337) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57338) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57339) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57340) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57348) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57349) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57350) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57351) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57352) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57360) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57361) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57362) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57363) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57364) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57372) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57373) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57374) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57375) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
C:\Users\Ralli\Desktop\Virtual Gaming\gamemodes\VGRP.pwn(57376) : error 032: array index out of bounds (variable "PlayerVehicleInfo")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
25 Errors.
Kann mir jemand helfen das zu fixen?
stock LoadPlayerVehicles(playerid) {
switch(PlayerInfo[playerid][pDonator]) {
case 0: {
PlayerVehicleInfo[playerid][0][pvDisabled] = 0;
PlayerVehicleInfo[playerid][1][pvDisabled] = 0;
PlayerVehicleInfo[playerid][2][pvDisabled] = 0;
PlayerVehicleInfo[playerid][3][pvDisabled] = 0;
PlayerVehicleInfo[playerid][4][pvDisabled] = 0;
PlayerVehicleInfo[playerid][5][pvDisabled] = 1;
PlayerVehicleInfo[playerid][6][pvDisabled] = 1;
PlayerVehicleInfo[playerid][7][pvDisabled] = 1;
PlayerVehicleInfo[playerid][8][pvDisabled] = 1;
PlayerVehicleInfo[playerid][9][pvDisabled] = 1;
}
case 1: {
PlayerVehicleInfo[playerid][0][pvDisabled] = 0;
PlayerVehicleInfo[playerid][1][pvDisabled] = 0;
PlayerVehicleInfo[playerid][2][pvDisabled] = 0;
PlayerVehicleInfo[playerid][3][pvDisabled] = 0;
PlayerVehicleInfo[playerid][4][pvDisabled] = 0;
PlayerVehicleInfo[playerid][5][pvDisabled] = 0;
PlayerVehicleInfo[playerid][6][pvDisabled] = 0;
PlayerVehicleInfo[playerid][7][pvDisabled] = 1;
PlayerVehicleInfo[playerid][8][pvDisabled] = 1;
PlayerVehicleInfo[playerid][9][pvDisabled] = 1;
}
case 2: {
PlayerVehicleInfo[playerid][0][pvDisabled] = 0;
PlayerVehicleInfo[playerid][1][pvDisabled] = 0;
PlayerVehicleInfo[playerid][2][pvDisabled] = 0;
PlayerVehicleInfo[playerid][3][pvDisabled] = 0;
PlayerVehicleInfo[playerid][4][pvDisabled] = 0;
PlayerVehicleInfo[playerid][5][pvDisabled] = 0;
PlayerVehicleInfo[playerid][6][pvDisabled] = 0;
PlayerVehicleInfo[playerid][7][pvDisabled] = 0;
PlayerVehicleInfo[playerid][8][pvDisabled] = 1;
PlayerVehicleInfo[playerid][9][pvDisabled] = 1;
}
case 3: {
PlayerVehicleInfo[playerid][0][pvDisabled] = 0;
PlayerVehicleInfo[playerid][1][pvDisabled] = 0;
PlayerVehicleInfo[playerid][2][pvDisabled] = 0;
PlayerVehicleInfo[playerid][3][pvDisabled] = 0;
PlayerVehicleInfo[playerid][4][pvDisabled] = 0;
PlayerVehicleInfo[playerid][5][pvDisabled] = 0;
PlayerVehicleInfo[playerid][6][pvDisabled] = 0;
PlayerVehicleInfo[playerid][7][pvDisabled] = 0;
PlayerVehicleInfo[playerid][8][pvDisabled] = 0;
PlayerVehicleInfo[playerid][9][pvDisabled] = 0;
}
default: {
PlayerVehicleInfo[playerid][0][pvDisabled] = 0;
PlayerVehicleInfo[playerid][1][pvDisabled] = 0;
PlayerVehicleInfo[playerid][2][pvDisabled] = 0;
PlayerVehicleInfo[playerid][3][pvDisabled] = 0;
PlayerVehicleInfo[playerid][4][pvDisabled] = 0;
PlayerVehicleInfo[playerid][5][pvDisabled] = 0;
PlayerVehicleInfo[playerid][6][pvDisabled] = 0;
PlayerVehicleInfo[playerid][7][pvDisabled] = 0;
PlayerVehicleInfo[playerid][8][pvDisabled] = 0;
PlayerVehicleInfo[playerid][9][pvDisabled] = 0;
}
}