My Server chat works only for Admins And PM's
#10

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[128], name[24];
    GetPlayerName(playerid, name, sizeof name);
    format( string, sizeof string, "%s(%i): %s", name, playerid, text );
    SendClientMessage(playerid, GetPlayerColor(playerid), string);
    return 1;  
}
Try this, and see if it sends the message
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)