26.05.2014, 15:15
Just delete the "else" statement instead of putting some useless code inside.
PHP код:
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);
}
return 1;
}