Trouble, trouble, trouble... with strcmp I'm assuming
#2

Replace it with this:
pawn Code:
else if( clickedid == DialPadNum )
        {
            new
                matches = 0;
               
            if( strlen( cellDialedNumber [ playerid ] ) == 1 )
            {
                for( new u; u < MAX_PLAYERS; u ++ )
                {
                    //if( plStats [ u ] [ CellPhoneNumber ] == cellDialedNumber [ playerid ] )
                    if( strcmp( cellDialedNumber [ playerid ], plStats [ u ] [ CellPhoneNumber ], false ) == 1 )
                    {
                        SendClientMessage( u, Colour_RankOrange, "LOL THIS MESSAGE IS OBNOXIOUS. O AND SOMEONE B CALLIN U" );
                        SendClientMessage( playerid, Colour_Yellow, "LOL IT WURKS" );
                        matches ++;
                    }
                }
            }
           
            if( matches == 0 ) {
                SendClientMessage( playerid, -1, "no wurk :(" );
            }
            SendClientMessage( playerid, -1, "#" );
        }
Reply


Messages In This Thread
Trouble, trouble, trouble... with strcmp I'm assuming - by 2KY - 31.08.2012, 04:26
Re: Trouble, trouble, trouble... with strcmp I'm assuming - by rohancoolking - 31.08.2012, 04:38
Re: Trouble, trouble, trouble... with strcmp I'm assuming - by 2KY - 31.08.2012, 04:39

Forum Jump:


Users browsing this thread: 1 Guest(s)