team chat help [+rep]
#5

sorry, here, try this.
pawn Код:
if(strcmp(cmd, "/teamchat", false) == 0)
    {
        new length = strlen(cmdtext);
       
        new PlayerName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
        new str[128];
        format(str,sizeof(str),"[Team] %s: %s", PlayerName, cmdtext[3]);
        SendTeamMessage( playerid, str);
        return 1;
    }
Reply


Messages In This Thread
team chat help [+rep] - by Twinki1993 - 11.01.2012, 23:17
Re: team chat help [+rep] - by Twinki1993 - 11.01.2012, 23:23
Re: team chat help [+rep] - by Richie - 11.01.2012, 23:25
Re: team chat help [+rep] - by Twinki1993 - 11.01.2012, 23:27
Re: team chat help [+rep] - by Richie - 11.01.2012, 23:31
Re: team chat help [+rep] - by Twinki1993 - 11.01.2012, 23:33
Re: team chat help [+rep] - by Richie - 11.01.2012, 23:39
Re: team chat help [+rep] - by Twinki1993 - 11.01.2012, 23:45
Re: team chat help [+rep] - by Richie - 11.01.2012, 23:53
Re: team chat help [+rep] [String bug] - by Twinki1993 - 11.01.2012, 23:53

Forum Jump:


Users browsing this thread: 1 Guest(s)