09.03.2009, 21:05
I need some help so that a text draw displays for a longer time.
Код:
new Text:Textdraw0;
Код:
Textdraw0 = TextDrawCreate(325.000000,298.000000,"<message>"); TextDrawUseBox(Textdraw0,1); TextDrawBoxColor(Textdraw0,0xff000033); TextDrawTextSize(Textdraw0,0.000000,1296.000000); TextDrawAlignment(Textdraw0,2); TextDrawBackgroundColor(Textdraw0,0x000000ff); TextDrawFont(Textdraw0,1); TextDrawLetterSize(Textdraw0,1.000000,2.499999); TextDrawColor(Textdraw0,0xffffffff); TextDrawSetOutline(Textdraw0,1); TextDrawSetProportional(Textdraw0,1); TextDrawSetShadow(Textdraw0,4);
Код:
if(strcmp(cmd, "/ss", true) == 0) { if (AccountInfo[playerid][AdminLevel] >= 5 || IsPlayerAdmin(playerid)) return TextDrawShowForAll(Text:Textdraw0); else return SendClientMessage(playerid, RED, "You Are Not A Lead Admin!"); }