Jump to content

Question

Posted (edited)

Problema intalnita (descriere):Pai mi-a aparut error 006: must be assigned to an array si nu stiu cum sa rezolv
Ero(area / rile) / warning-(ul / urile):error 006: must be assigned to an array
Liniile de cod / sursa / script-ul(obligatoriu):

public LoadFactioninfo()
{
            new File[300];
            format(File,sizeof(File),"/Factions/factions.ini");
            FactionInfo[Corleone][fMoney] = dini_Get(File,"Money");
            FactionInfo[Corleone][fDrugs] = dini_Get(File,"Drugs");
            FactionInfo[Corleone][fMembers] = dini_Get(File,"Members");
            FactionInfo[Corleone][fChar] = dini_Get(File,"Skin");
            return 1;
}


Imagini / Video (optional):
Ati incercat sa rezolvati singur?:Da

 
 
 
 
Edited by Neooooo

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

Toate cele enumerate
E:\Scripting\gamemodes\mygm.pwn(3100) : error 006: must be assigned to an array
E:\Scripting\gamemodes\mygm.pwn(3101) : error 006: must be assigned to an array
E:\Scripting\gamemodes\mygm.pwn(3102) : error 006: must be assigned to an array
E:\Scripting\gamemodes\mygm.pwn(3103) : error 006: must be assigned to an array

 

            FactionInfo[Corleone][fMoney] = dini_Get(File,"Money");
            FactionInfo[Corleone][fDrugs] = dini_Get(File,"Drugs");
            FactionInfo[Corleone][fMembers] = dini_Get(File,"Members");
            FactionInfo[Corleone][fChar] = dini_Get(File,"Skin");
 
 
 
 
Edited by Neooooo
  • 0
Posted

Inlocuieste

public LoadFactioninfo()

cu

public LoadFactioninfo(Corleone)

 

242086.png

  • 0
Posted

E:\Scripting\gamemodes\mygm.pwn(3096) : error 010: invalid function or declaration
E:\Scripting\gamemodes\mygm.pwn(3100) : error 006: must be assigned to an array
E:\Scripting\gamemodes\mygm.pwn(3101) : error 006: must be assigned to an array
E:\Scripting\gamemodes\mygm.pwn(3102) : error 006: must be assigned to an array
E:\Scripting\gamemodes\mygm.pwn(3103) : error 006: must be assigned to an array

 
 
  • 0
Posted

Inca ceva, schimba

forward LoadFactioninfo();

cu

forward LoadFactioninfo(Corleone);

 

242086.png

  • 0
Posted (edited)

Cum e definita variabila ?

Corleone
Edited by Gireada

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

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.