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

Just delete the "else" statement instead of putting some useless code inside.

PHP код:
forward OnIsEmailPending(playeridemail[]);
public 
OnIsEmailPending(playeridemail[])
{
    new 
rowsfields;
    
cache_get_data(rowsfieldsMainPipeline);
    if(
rows 0)
    {
        
SetPVarInt(playerid"NullEmail"3);
        
ShowLoginDialogs(playerid3);
    }
    return 
1;

Reply


Messages In This Thread
Warning 209: function "OnIsEmailPending" should return a value - by VladimirMark - 26.05.2014, 15:09
Re: Warning 209: function "OnIsEmailPending" should return a value - by PawnOX - 26.05.2014, 15:11
Re: Warning 209: function "OnIsEmailPending" should return a value - by Rittik - 26.05.2014, 15:12
Re : Warning 209: function "OnIsEmailPending" should return a value - by S4t3K - 26.05.2014, 15:15
Re: Warning 209: function "OnIsEmailPending" should return a value - by VladimirMark - 26.05.2014, 15:20

Forum Jump:


Users browsing this thread: 3 Guest(s)