syntax error in the expression, or invalid function call
#1

Код:
forward MuteTimer();
public MuteTimer()
{
    for(new i = 0; i < MAX_PLAYERS; i ++) 
    {
        if(gIsPlayerLoggedIn[i])
		{
            if(PlayerData[i][MuteTimer] > 1) // 1700
            {
                PlayerData[i][MuteTimer] --; // 1702
            }
        }
    }
    return 1;
}
Код:
(1700) : error 076: syntax error in the expression, or invalid function call
(1702) : error 076: syntax error in the expression, or invalid function call
How to fix this?
Reply
#2

....
Reply
#3

Don't bump the thread after 30 mins....

I don't know about this, but you could've mis-wrote it, are you is it typed correctly?
Reply
#4

Код:
forward MuteTimer();
public MuteTimer()
{
    for(new i = 0; i < MAX_PLAYERS; i ++) 
    {
        if(gIsPlayerLoggedIn[i])
		{
            if(PlayerData[i][MuteTimer] > 1) // 1700
            {
                PlayerData[i][MuteTimer] == --; // 1702
            }
        }
    }
    return 1;
}
this
Reply
#5

Fixed, my enum MuteTime, not MuteTimer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)