Textdraw4 = TextDrawCreate(314.000000, 437.000000, ""); TextDrawBackgroundColor(Textdraw4, 255); TextDrawFont(Textdraw4, 1); TextDrawLetterSize(Textdraw4, 0.500000, 1.000000); TextDrawColor(Textdraw4, -1); TextDrawSetOutline(Textdraw4, 1); TextDrawSetProportional(Textdraw4, 1);
new scores[128]; format(scores, sizeof(scores), "Rank:[%s]",RankInfo[playerid][RName]); TextDrawSetString(Textdraw4, scores); TextDrawShowForPlayer(playerid, Textdraw4);
Originally Posted by https://sampwiki.blast.hk/wiki/TextDrawCreate
Important Note: text[] must NOT be empty or the server will crash! If you need a textdraw that shows nothing, use " " (a space) or _ (underscore)
|
Textdraw4 = TextDrawCreate(314.000000, 437.000000, " "); TextDrawBackgroundColor(Textdraw4, 255); TextDrawFont(Textdraw4, 1); TextDrawLetterSize(Textdraw4, 0.500000, 1.000000); TextDrawColor(Textdraw4, -1); TextDrawSetOutline(Textdraw4, 1); TextDrawSetProportional(Textdraw4, 1);
Originally Posted by Sinyavski
Dude,
Quote:
Код:
Textdraw4 = TextDrawCreate(314.000000, 437.000000, " "); TextDrawBackgroundColor(Textdraw4, 255); TextDrawFont(Textdraw4, 1); TextDrawLetterSize(Textdraw4, 0.500000, 1.000000); TextDrawColor(Textdraw4, -1); TextDrawSetOutline(Textdraw4, 1); TextDrawSetProportional(Textdraw4, 1); |