Jump to content

Problema gm


Jelq
 Share

Recommended Posts

in baza de date am 16 factiuni si in gm aveam declarate  15,am incercat sa pun 17 dar dupa imi dau 2 erori in gm...

 

new DynamicFactions[TOTAL_FACTIONS][Factions], fRankNames[TOTAL_FACTIONS][7][180];
 

la inceput am #define TOTAL_FACTIONS si am pus 17,si acum primesc astea 2

E:\gmu\proiect\gamemodes\proiect.pwn(242) : error 052: multi-dimensional arrays must be fully initialized
E:\gmu\proiect\gamemodes\proiect.pwn(1669) : error 052: multi-dimensional arrays must be fully initialized

 

 

Link to comment
Share on other sites

Verifica daca nu ai depasit limita / scazut  in LoadFactions () 

Verifica daca nu cumva ai lasat comenzi pe ZCMD, daca ai trecut pe YSI 

Daca ai trecut pe YSI, se sterge include-ul ZCMD din gamemode, verifica daca nu cumva ai lasat return-uri la anumite comenzi de tip  return cmd_xzy

Edited by Wildo
Link to comment
Share on other sites

Verifica daca in liniile 

E:\gmu\proiect\gamemodes\proiect.pwn(242) : error 052: multi-dimensional arrays must be fully initialized
E:\gmu\proiect\gamemodes\proiect.pwn(1669) : error 052: multi-dimensional arrays must be fully initialized

242, 1669 ,  daca nu ai omis "  ;  " dupa " }  " 

Link to comment
Share on other sites

 Am mai luat odata si am vzt ca uitasem sa pun , cu un rand mai sus,si dupa asta mi-au dat 4 erori tot la linile astea

E:\comori\gmu\gamemodes\proiect.pwn(242) : error 029: invalid expression, assumed zero
E:\comori\gmu\gamemodes\proiect.pwn(242) : error 008: must be a constant expression; assumed zero
E:\comori\gmu\gamemodes\proiect.pwn(1669) : error 029: invalid expression, assumed zero
E:\comori\gmu\gamemodes\proiect.pwn(1669) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase

 

 

Tot ala de la 242:  https://pastebin.com/mnu3FNkP

Tot ala de la 1669: https://pastebin.com/emYAkrd6

Link to comment
Share on other sites

  • L0K3D locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...