04.02.2012, 08:52
Hy guys in zcmd , how i can check if default param is empty/null
Like Here?
CMDoc(playerid,params[])
{
//If(Null?(params))
}
Like Here?
CMDoc(playerid,params[])
{
//If(Null?(params))
}
if(isnull(params)) return //message here or other function
CMD:ooc( playerid, params[ ] )
{
if( isnull( params ) ) return SendClientMessage( ... )
// Code
return 1;
}
CMD:ooc( playerid, params[ ] )
{
if( !isnull( params ) )
{
// Code
}
else SendClientMessage( .. );
return 1;
}