new name[24]; new string9[256]; GetPlayerName(playerid, name,24); format(string9,sizeof(string9),"%s has logged in", name); TextDrawShowForAll(playerid, Textdraw9); // I need something like this ShowForAll makes a error Textdraw9 = TextDrawCreate(511.000000, 270.000000, string9); TextDrawBackgroundColor(Textdraw9, 255); TextDrawFont(Textdraw9, 1); TextDrawLetterSize(Textdraw9, 0.190000, 0.899999); TextDrawColor(Textdraw9, -1); TextDrawSetOutline(Textdraw9, 1); TextDrawSetProportional(Textdraw9, 1); |
new name[24]; new string9[256]; GetPlayerName(playerid, name,24); format(string9,sizeof(string9),"%s has logged in", name); Textdraw9 = TextDrawCreate(511.000000, 270.000000, string9); TextDrawBackgroundColor(Textdraw9, 255); TextDrawFont(Textdraw9, 1); TextDrawLetterSize(Textdraw9, 0.190000, 0.899999); TextDrawColor(Textdraw9, -1); TextDrawSetOutline(Textdraw9, 1); TextDrawSetProportional(Textdraw9, 1); TextDrawShowForAll(playerid, Textdraw9);
Originally Posted by Naxix
Код:
new name[24]; new string9[256]; GetPlayerName(playerid, name,24); format(string9,sizeof(string9),"%s has logged in", name); Textdraw9 = TextDrawCreate(511.000000, 270.000000, string9); TextDrawBackgroundColor(Textdraw9, 255); TextDrawFont(Textdraw9, 1); TextDrawLetterSize(Textdraw9, 0.190000, 0.899999); TextDrawColor(Textdraw9, -1); TextDrawSetOutline(Textdraw9, 1); TextDrawSetProportional(Textdraw9, 1); TextDrawShowForAll(playerid, Textdraw9); |