Really annoying and strange!
#1

So here is my code.

pawn Код:
for ( new i = 0; i < MAX_PLAYERS; i++ )
                    {
                        if ( IsPlayerConnected( i ) )
                        {
                            if ( P_DATA[ i ][ Level ] > 0 ){
                                new
                                    iStr[ 160 ];
                                format( iStr, sizeof (iStr), "[ADMIN CHAT] "GREY"%s:"W" %s", Name( playerid ), text[ 1 ] );
                                SendClientMessage( i, 0xFF0000FF, iStr );
                                print(iStr);
                                return 0;
                            }
                        }
                    }
The thing is, no-one can see the text! neither I neither nobody on the server.
Sometimes it works, sometimes it doesn't, sometimes works like : I can see the text sent, but others don't, or they can see it but i don't...

I tried even foreach, same result, any deas?

This problem is really stupid...
Reply


Messages In This Thread
Really annoying and strange! - by Zh3r0 - 03.05.2011, 14:02
Re: Really annoying and strange! - by Seven_of_Nine - 03.05.2011, 14:07
Re: Really annoying and strange! - by Zh3r0 - 03.05.2011, 14:09
Re: Really annoying and strange! - by Seven_of_Nine - 03.05.2011, 14:12
Re: Really annoying and strange! - by Zh3r0 - 03.05.2011, 14:17
Re: Really annoying and strange! - by Ricop522 - 03.05.2011, 14:52
Re: Really annoying and strange! - by Seven_of_Nine - 03.05.2011, 14:54

Forum Jump:


Users browsing this thread: 2 Guest(s)