Long text question
#1

Hey I'm trying to make it for example: Whenever I right now do /ann [text]

Let's say I do a very long text, then it just keeps going all over to your health bar on the upper right side the text,

What I'm trying to do is to make it like at some point make the: .... and then go one step down over in the chatbox instead of going in one long line all the way over to the health bar.

This is the /ann code

pawn Код:
new text[150];
        if(sscanf(params,"s[150]",text)) SendClientMessage(playerid,COLOR_YELLOW,"Usage: /(ann)ounce [message]");
        else
        {
            new string[170];
            format(string,sizeof(string),"Administrator %s: %s",pname,text);
            SendClientMessageToAll(COLOR_RED,string);
            return 1;
        }
Reply


Messages In This Thread
Long text question - by oliverrud - 12.07.2010, 23:07
Re: Long text question - by oliverrud - 13.07.2010, 12:13
Re: Long text question - by Hiddos - 13.07.2010, 12:17
Re: Long text question - by oliverrud - 13.07.2010, 12:18
Re: Long text question - by Mauzen - 13.07.2010, 12:56
Re: Long text question - by oliverrud - 13.07.2010, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)