invalid function or declaration
#1

I got this error on Timer code
Код:
invalid function or declaration (4893, 1)
invalid function or declaration (4895, 1)
PHP код:
Timer:PlayerChecker[1000]() //4893
{
    foreach(new 
iPlayer//4895
    
{
        if(
pInfo[i][pMuted])
        {
            
pInfo[i][pMutedTime]--;
            if(
pInfo[i][pMutedTime] < 1)
            {
                
pInfo[i][pMuted] = false;
                
pInfo[i][pMutedTime] = 0;
                
SendClientMessage(iCOLOR_YELLOW"AdmCmd: You have been automatically unmuted after serving the mute-time.");
                new 
string[150];
                
format(stringsizeof(string), "AdmWarn: {FF0000}%s has been automatically unmuted after serving his mute-time"GetName(i));
                
SendAdminMessage(COLOR_ORANGEstring);
            }
        }
        if(
pInfo[i][pJailed])
        {
            
pInfo[i][pJailedTime]--;
            if(
pInfo[i][pJailedTime] < 1)
            {
                
pInfo[i][pJailed] = false;
                
pInfo[i][pJailedTime] = 0;
                
SendClientMessage(iCOLOR_YELLOW"AdmCmd: You have been automatically unjailed after serving the jail-time.");
                new 
string[150];
                
format(stringsizeof(string), "AdmWarn: {FF0000}%s has been automatically unjailed after serving his jail-time"GetName(i));
                
SendAdminMessage(COLOR_ORANGEstring);
            }
        }
    }
    return 
1;

Reply


Messages In This Thread
invalid function or declaration - by AlfaSufaIndo - 27.09.2018, 12:02
Re: invalid function or declaration - by solstice_ - 27.09.2018, 12:05
Re: invalid function or declaration - by AlfaSufaIndo - 27.09.2018, 12:12
Re: invalid function or declaration - by solstice_ - 27.09.2018, 12:14
Re: invalid function or declaration - by AlfaSufaIndo - 27.09.2018, 12:16
Re: invalid function or declaration - by solstice_ - 27.09.2018, 12:16
Re: invalid function or declaration - by AlfaSufaIndo - 27.09.2018, 12:18
Re: invalid function or declaration - by solstice_ - 27.09.2018, 12:19
Re: invalid function or declaration - by AlfaSufaIndo - 27.09.2018, 12:20
Re: invalid function or declaration - by AlfaSufaIndo - 27.09.2018, 12:22

Forum Jump:


Users browsing this thread: 1 Guest(s)