Ellow, this little suggestion for admin command:
SUMMARY
/cry <playerid>
This command toggles cry chat mode for the player. This means everything this player now says goes in seperate chat instead of public chat. Only other player who r put in this chat can read and respond to this crying conversation.
Example:
PUBLIC CHAT
[X]Y (id 5): OMFG u noob db'er!
[A]B (id 10): You runner!! u do 3vs1 u can only win like that,.
/cry 5
/cry 10
PUBLIC CHAT
[silence]
CRY CHAT
[X]Y (id 5):Floorshooter, backdoorshooter!!
[A]B (id 10): Come DA u scared?? yo momma fuck i do jaja blablablaaa
ADVANTAGES
Quiet public chat, no crying kidz, still they dont have to be muted and can cry to one another i n cry chat.
DISADVANTAGES
More crying???
CODE
new CryChat[MAX_PLAYERS];
dcmd_cry(playerid,params[])
{
new cryplayerid;
if (sscanf(params, "i",cryplayerid)) SendClientMessage(playerid, YELLOW, "Usage: \"/cry <playerid>\"");
else
{
CryChat[cryplayerid]=1;
}
return 1;
}
dcmd_uncry(playerid,params[])
{
new cryplayerid;
if (sscanf(params, "i",cryplayerid)) SendClientMessage(playerid, YELLOW, "Usage: \"/uncry <playerid>\"");
else
{
CryChat[cryplayerid]=0;
}
return 1;
}
public OnPlayerText(playerid, text[])
{
if(CryChat[playerid]==1)
{
for(new i,a = GetMaxPlayers();i < a;i++)
{
if(CryChat[ i ]==1)
{
SendClientMessage(i, COLOR_RED, text);
return 0;
}
}
}
else
{
return 1;
}
}