error 006: must be assigned to an array
#1

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


And the code :

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;
}
Reply


Messages In This Thread
error 006: must be assigned to an array - by Neooooo - 06.07.2015, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)