problems with sscanf
#6

pawn Code:
CMD:vehtrunk( playerid, params[ ] )
{
    if( !isnull( params ) )
    {
        SendClientMessage( playerid, COLOR_GREEN, "SYNTAX: /vehtrunk [info/open/close/putgun/takegun/putcocaine/takecocaine/putheroin]" );
        SendClientMessage( playerid, COLOR_GREEN, "[takeheroin/putecstasy/takeecstasy/putcrack/takecrack/putweed/takeweed/putcrystalmeth]" );
        SendClientMessage( playerid, COLOR_GREEN, "[takecrystalmeth/putsteroids/takesteroids/putgascan/takegascan/putmaterials/takematerials]" );
        return 1;
    }
    if( strcmp( params, "info", true ) == 0)
    {
        // Code about Info
    }
    else if( strcmp( params, "open", true ) == 0)
    {
        // Code about Open
    }
    else if( strcmp( params, "close", true ) == 0)
    {
        // Code about Close
    }
    else if( strcmp( params, "putgun", true ) == 0)
    {
        // Code about Putgun
    }
    // Continue up to the last...
    else if( strcmp( params, "takematerials", true ) == 0)
    {
        // Code about Takematerials
    }
    else
    {
        SendClientMessage( playerid, COLOR_GREEN, "SYNTAX: /vehtrunk [info/open/close/putgun/takegun/putcocaine/takecocaine/putheroin]" );
        SendClientMessage( playerid, COLOR_GREEN, "[takeheroin/putecstasy/takeecstasy/putcrack/takecrack/putweed/takeweed/putcrystalmeth]" );
        SendClientMessage( playerid, COLOR_GREEN, "[takecrystalmeth/putsteroids/takesteroids/putgascan/takegascan/putmaterials/takematerials]" );
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
problems with sscanf - by Marricio - 29.01.2012, 22:17
Re: problems with sscanf - by MP2 - 29.01.2012, 22:55
Re: problems with sscanf - by Marricio - 29.01.2012, 23:04
Re: problems with sscanf - by Marricio - 30.01.2012, 18:47
Re: problems with sscanf - by milanosie - 30.01.2012, 18:49
Re: problems with sscanf - by Konstantinos - 30.01.2012, 18:59
Re: problems with sscanf - by admantis - 30.01.2012, 22:52
Re: problems with sscanf - by Marricio - 30.01.2012, 22:53

Forum Jump:


Users browsing this thread: 1 Guest(s)