warning help
#7

If you have if checks under OnPlayerText, return 1 within that if statement, and at the end of OnPlayerText, return 0;

Example:
pawn Код:
public OnPlayerText(playerid, text[])
{
    if(Something)
    {
        ...
        return 1;
    }
    else if(!something)
    {
   
        ...
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
warning help - by ScripteRNaBEEL - 22.06.2014, 07:00
Re: warning help - by Rittik - 22.06.2014, 07:01
Re: warning help - by ScripteRNaBEEL - 22.06.2014, 07:02
Re: warning help - by Jack_Leslie - 22.06.2014, 07:06
Re: warning help - by ScripteRNaBEEL - 22.06.2014, 07:08
Re: warning help - by Rittik - 22.06.2014, 07:10
Re: warning help - by Jack_Leslie - 22.06.2014, 07:15
Re: warning help - by ScripteRNaBEEL - 22.06.2014, 07:19

Forum Jump:


Users browsing this thread: 1 Guest(s)