Warning 209: function "OnIsEmailPending" should return a value
#1

I got this warning when I compile the server:
pawn Код:
./includes/functions.pwn(21694) : warning 209: function "OnIsEmailPending" should return a value
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
And here is lines 21682-21694
pawn Код:
forward OnIsEmailPending(playerid, email[]);
public OnIsEmailPending(playerid, email[])
{
    new rows, fields;
    cache_get_data(rows, fields, MainPipeline);
    if(rows > 0)
    {
        SetPVarInt(playerid, "NullEmail", 3);
        ShowLoginDialogs(playerid, 3);
    }
    else //InvalidEmailCheck(playerid, email);
    return 1;
}
I don't know what am I doing wrong :/
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)