Diabolik Posted December 30, 2012 Report Share Posted December 30, 2012 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 More sharing options...
DarkyTheAngel Posted December 30, 2012 Report Share Posted December 30, 2012 Cauta la inceputu scriptului urmatoarea linie:new JoinPed[X][1]Apoi schimba X cu numarul de "joinped-uri".Ai incercat sa folosesti mai multe "joinped-uri" decat cele definite la enumerari. Link to comment Share on other sites More sharing options...
Diabolik Posted December 30, 2012 Author Report Share Posted December 30, 2012 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 More sharing options...
DarkyTheAngel Posted December 30, 2012 Report Share Posted December 30, 2012 Schimbanew Peds[89][1] = { in new Peds[70][1] = { Link to comment Share on other sites More sharing options...
Diabolik Posted December 31, 2012 Author Report Share Posted December 31, 2012 Multumesc darky pentru ajutor.T.C LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP Link to comment Share on other sites More sharing options...
Question
Diabolik
Cum pot sa rezolv warnurile/erorile astea?
Linia 38154: Linia 2610 Linia 2614LISTA - 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