26.04.2014, 19:45
pawn Код:
if(strcmp(cmd, "/co", true) == 0)
{
if(PlayerInfo[playerid][pMembro] > 0 || PlayerInfo[playerid][pLider] > 0)
{
new texto[128];
if(sscanf(cmdtext, "s[4]s[128]", cmd, texto))
{
SendClientMessage(playerid, Vermelho, "/co [texto]");
}
else
{
new leader = PlayerInfo[playerid][pLider];
new member = PlayerInfo[playerid][pMembro];
if(member==1)
{
new string[128];
format(string, sizeof(string), "[YKZ] %s: {FFFFFF}%s.", GetPlayerNameEx(playerid), texto);
SendFamilyMessage(1, C_YKZ, string);
return true;
}