26.05.2014, 15:09
I got this warning when I compile the server:
And here is lines 21682-21694
I don't know what am I doing wrong :/
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.
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;
}