03.07.2016, 00:57
The reason the warning shows up is because your if statements both end with a return, the code will never reach the "return 1;" at the bottom because of this.
pawn Код:
if(success)
{
SpamCheck[playerid] = GetTickCount();
}
if(!success)
{
SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Unknown command."); // no need to have "return" in front of this.
}
return 1;