TeamChat help please
#6

pawn Код:
if ( strcmp( cmdtext, "/f", true ) == 10 )
{
    if ( sscanf( cmdtext, "s[128]", cmdtext[ 0 ] ) ) return SendClientMessage( playerid, GetPlayerColor( playerid ), "USAGE: /f [Text]" );
   
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && gTeam[i] == gTeam[playerid]) SendClientMessage(i, GetPlayerColor(playerid), cmdtext[0]);
    }
    return 1;
}
Reply


Messages In This Thread
TeamChat help please - by pandaeyez - 30.10.2011, 15:12
Re: TeamChat help please - by Kingunit - 30.10.2011, 15:13
Re: TeamChat help please - by pandaeyez - 30.10.2011, 15:15
Re: TeamChat help please - by Kostas' - 30.10.2011, 15:16
Re: TeamChat help please - by pandaeyez - 30.10.2011, 15:24
Re: TeamChat help please - by Edvin - 30.10.2011, 15:32
Re: TeamChat help please - by pandaeyez - 30.10.2011, 15:37

Forum Jump:


Users browsing this thread: 1 Guest(s)