How to check if params are empty?
#3

Yes, you can
pawn Код:
CMD:ooc( playerid, params[ ] )
{
    if( isnull( params ) ) return SendClientMessage( ... )
    // Code
    return 1;
}
OR
pawn Код:
CMD:ooc( playerid, params[ ] )
{
    if( !isnull( params ) )
    {
        // Code
    }
    else SendClientMessage( .. );
    return 1;
}
Reply


Messages In This Thread
How to check if params are empty? - by Shabi RoxX - 04.02.2012, 08:52
Re: How to check if params are empty? - by MasterJoker - 04.02.2012, 09:00
Re: How to check if params are empty? - by Konstantinos - 04.02.2012, 09:05
Re: How to check if params are empty? - by Shabi RoxX - 04.02.2012, 09:25

Forum Jump:


Users browsing this thread: 1 Guest(s)