Help please
#1

pawn Код:
if(Masked[playerid] = true);
    {
        format(string, sizeof(string), "Stranger %d says: %s", PlayerInfo[playerid][pMaskID], text);
        }
    return 1;
}
Reply
#2

... and the problem is? We cannot read your mind.
Reply
#3

Can you post the error?
Reply
#4

C:\Users\Alex\Desktop\Folders\Servers\Samp\IBS\gam emodes\IBS.pwn(5273) : error 010: invalid function or declaration
C:\Users\Alex\Desktop\Folders\Servers\Samp\IBS\gam emodes\IBS.pwn(5277) : error 010: invalid function or declaration

pawn Код:
}//Line 5273
if(Masked[playerid] = true);
    {
        format(string, sizeof(string), "Stranger %d says: %s", PlayerInfo[playerid][pMaskID], text);
        }//Line 5277
    return 1;
}
Reply
#5

Although, you should always post the full code and explain your error, I could see the problem by just looking at the code.

pawn Код:
if(Masked[playerid] == true) // You had a ';' after the parentheses ')', and instead of '==', you put '='.
    {
        format(string, sizeof(string), "Stranger %d says: %s", PlayerInfo[playerid][pMaskID], text);
    }
    return 1;
}
Reply
#6

Quote:
Originally Posted by JJB562
Посмотреть сообщение
Although, you should always post the full code and explain your error, I could see the problem by just looking at the code.

pawn Код:
if(Masked[playerid] == true) // You had a ';' after the parentheses ')', and instead of '==', you put '='.
    {
        format(string, sizeof(string), "Stranger %d says: %s", PlayerInfo[playerid][pMaskID], text);
    }
    return 1;
}
Doesnt work
Reply
#7

Fixed it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)