04.09.2013, 22:28
1:
2:
3:
pawn Код:
public OnPlayerText(playerid, text[])
{
if(text[0] == '!' && PlayerInfo[playerid][pCV] >= 1)
{
new rname[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, rname, sizeof(rname));
new rStr[230];
GetPlayerName(playerid, rname, sizeof(rname));
format(rStr, sizeof(rStr), "[Chat do Comando Vermelho] %s (%i): {FFFFFF}%s", rname, playerid , text[1]);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
pawn Код:
new sName[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, sName, sizeof(sName));
new sStr[230];
GetPlayerName(playerid, sName, sizeof(sName));
format(sStr, sizeof(sStr), "[Chat do Terceiro Comando Puro] %s (%i): {FFFFFF}%s", sName, playerid , text[1]);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
pawn Код:
new pName[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, pName, sizeof(pName));
new pStr[230];
GetPlayerName(playerid, pName, sizeof(pName));
format(pStr, sizeof(pStr), "[Chat dos Amigos dos Amigos] %s (%i): {FFFFFF}%s", pName, playerid , text[1]);
for(new i = 0; i < MAX_PLAYERS; i ++)
{