Quote:
Originally Posted by [BADBOY]
I tryed using it typing it first without logging in.
pawn Код:
dcmd_ann(playerid, params[]) { if(IsPlayerAdmin(playerid)) { if (!strlen(params)) { SendClientMessage(playerid,COLOR_RED2, "USAGE: /ann [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); } else { SendClientMessage(playerid,COLOR_RED2,"Your not an admin"); } return 1; }
and maybe this will work?
EDIT: I've added this
Maybe thats why it don't work.
|
Don't know if your people are blind, but the problem was that 'ann' isn't 4 characters long, it's 3.