[HELP]:OnPlayerText [RENEW EDITION!]
#1

Hi i need another help about OnPlayerText
I want when my word is full there would be another new line like this!:

Код:
[SP]Mr.Kakashi[WP] : ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZZZZZZZZZZ
i dont like this one, it doesnt have a new line space:

Screenshot



Please Help i hope you will
Reply
#2

Show OnPlayerText code
Reply
#3

Heres The Code

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(IsIp(text))
    {
        SendClientMessage(playerid, COLOR_RED, "Server Advertisement is Not Allowed!");
        SendClientMessage(playerid, COLOR_RED, "You Have Been Banned Reason: Server Advertisement");
        BanEx(playerid, "Server Advertisement");
        return 0;
    }
   
    if(GetPVarInt(playerid, "Muted") == 1)
    {
        SendClientMessage(playerid,COLOR_RED, "You cant Talk While on Class Selection");
        return 0;
    }
    else if(GetPVarInt(playerid, "Muted") == 0)
    {
      new PlayerName[MAX_PLAYER_NAME];
      GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
      GetPlayerColor(playerid);
      format(text, 1024, "%s : {FFFFFF}[%d] {FFFFFF}%s", PlayerName, playerid, text);
      SendClientMessageToAll(GetPlayerColor(playerid), text);
    }
    return 0;
}
Reply
#4

Please Help
Reply
#5

There are plenty of released functions and includes that do what you're looking for. Search for "Smart Chat".
Reply
#6

Smart Chat
Have fun.
Reply
#7

Quote:
Originally Posted by Darnell
Посмотреть сообщение
Smart Chat
Have fun.
* A little star under my name, click it if this helped you .
Are you that pathetic that you have to beg for reputation? Earn it, don't ask for it.
Reply
#8

come on guys
Reply
#9

Quote:
Originally Posted by Darnell
Посмотреть сообщение
Smart Chat
Have fun.
....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)