Jump to content
  • 0

Problema loadfaction


Neooooo

Question

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
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0

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

 
 
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.