Jump to content
  • 0

error 032: array index out of bounds (variable "JoinPed")


Diabolik

Question

Cum pot sa rezolv warnurile/erorile astea?

C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(2608) : error 018: initialization data exceeds declared size
C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(2610) : error 010: invalid function or declaration
C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(2614) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(38154) : error 032: array index out of bounds (variable "JoinPed")
C:\Users\eu\Documents\pro RolepLay\gamemodes\NVL.pwn(38154) : error 032: array index out of bounds (variable "JoinPed")
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

5 Errors.
Linia 38154:
else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[95][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[95][0]; }
Linia 2610
};
Linia 2614
 new Peds[89][1] = {

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Multumesc , dar acum am alta eroare:

(2619) : error 052: multi-dimensional arrays must be fully initialized
Linia 2619 : 
};
Care este in functia asta:
new Peds[89][1] = {
{1}, {2}, {3}, {7}, {10}, {14}, {15}, {16}, {18}, {20}, {23}, {27}, {28}, {29}, {31}, {32}, {33}, {34}, {36}, {37},
{38}, {39}, {44}, {45}, {49}, {50}, {51}, {53}, {58}, {60}, {62}, {64}, {72}, {73}, {75}, {78}, {79}, {81}, {82},
{85}, {87}, {88}, {89}, {91}, {92}, {95}, {96}, {97}, {101}, {134}, {139}, {146}, {152}, {155}, {159}, {162},
{170}, {182}, {183}, {197}, {203}, {204}, {210}, {217}, {230}, {231}, {237}, {238}, {242}, {250}
};

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.