ORG Error
#3

Hey i made like this and I get no errors can you notice something wrong which could cause not working:

PHP код:
public LoadOrg(ORGID,name[],value[])
{
    new 
poruka[128];
    
format(poruka,sizeof(poruka),oPATH);
    if(!
fexist(poruka)) return 0;
    
    for(
ORGID 0ORGID MAX_TEAMSORGID++)
    {
        if(
OrgInfo[ORGID][oName] == 0)
         {
             break; 
// Ako je ime organizacije '0' stopiramo i rusimo.
        
}
    }
    
INI_String("Ime",OrgInfo[ORGID][oName],128);
    
INI_Int("Leaded",OrgInfo[ORGID][oLeaded]);
    if(
OrgInfo[ORGID][oLeaded] == 0)
    {
        
INI_Int("Leader",OrgInfo[ORGID][oLeader]);
    }
    else if(
OrgInfo[ORGID][oLeaded] == 1)
    {
        
INI_String("Leader",OrgInfo[ORGID][oLeader],MAX_PLAYER_NAME);
    }
    
INI_Int("Sef",OrgInfo[ORGID][oSef]);
    
INI_Int("Tip",OrgInfo[ORGID][oTip]);
    return 
1;

Reply


Messages In This Thread
ORG Error - by NoDi522 - 25.06.2015, 20:43
Re: ORG Error - by MohammedZ - 25.06.2015, 20:44
Re: ORG Error - by NoDi522 - 25.06.2015, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)