Longer /me's, that carry onto another line?
#4

Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
change the string to more higher

you might wanna try this:

pawn Код:
COMMAND:me(playerid, params[])
{
    new action[200], string[246];
    if(sscanf(params, "s[128]", action)) return SCME(playerid, COLOR_ORANGE, "USAGE: {FFFFFF}/me [action]");
    else
    {
        format(string, sizeof(string), "* %s %s",RPName(playerid),action);
        SendNearbyMessage(playerid, COLOR_PURPLE, string, 30.0);
    }
    return 1;
}
This is wrong.
Increasing the string size would not do anything.
SendClientMessage's limit is 128 characters, there is no way you can send more than that.
Reply


Messages In This Thread
Longer /me's, that carry onto another line? - by NRG2 - 20.09.2014, 06:13
Re: Longer /me's, that carry onto another line? - by Team_PRO - 20.09.2014, 06:27
Re: Longer /me's, that carry onto another line? - by SickAttack - 20.09.2014, 06:36
Re: Longer /me's, that carry onto another line? - by Stinged - 20.09.2014, 06:38
Re: Longer /me's, that carry onto another line? - by NRG2 - 20.09.2014, 07:16

Forum Jump:


Users browsing this thread: 1 Guest(s)