Problem with this announce dcmd
#6

Try this: (Using original code, place your else if you want)

pawn Код:
dcmd_ann2(playerid, params[])
{
    if(IsPlayerAdmin(playerid) == 1) {
        if (!strlen(params))
        {
            SendClientMessage(playerid,COLOR_RED2, "USAGE: /text [text]");
            return 1;
        }

        TextDrawDestroy(Textdraw8);
        Textdraw8 = TextDrawCreate(308.000000,200.000000, params);
        TextDrawAlignment(Textdraw8,2);
        TextDrawBackgroundColor(Textdraw8,0x000000ff);
        TextDrawFont(Textdraw8,3);
        TextDrawLetterSize(Textdraw8,1.100000,1.899999);
        TextDrawSetOutline(Textdraw8,1);
        TextDrawSetProportional(Textdraw8,1);
        TextDrawSetShadow(Textdraw8,10);
        TextDrawShowForAll(Textdraw8);
    }
    return 1;
}
Reply


Messages In This Thread
Problem with this announce dcmd - by Jay. - 01.08.2010, 08:26
Re: Problem with this announce dcmd - by Ash. - 01.08.2010, 08:32
Re: Problem with this announce dcmd - by Jay. - 01.08.2010, 08:34
Re: Problem with this announce dcmd - by Ash. - 01.08.2010, 08:36
Re: Problem with this announce dcmd - by Jay. - 01.08.2010, 08:38
Re: Problem with this announce dcmd - by Ash. - 01.08.2010, 08:42
Re: Problem with this announce dcmd - by Jay. - 01.08.2010, 08:47
Re: Problem with this announce dcmd - by Ash. - 01.08.2010, 08:49
Re: Problem with this announce dcmd - by WackoX - 01.08.2010, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)