Quote:
Originally Posted by Razvann
pawn Код:
forward TextdrawColorChange();
pawn Код:
SetTimer("TextdrawColorChange", 6000, 0);
pawn Код:
public TextdrawColorChange() { new Colors[] = { your colors }; for(new i = 0; i < MAX_PLAYERS; i++) { TextDrawHideForPlayer(i,your textdraw); TextDrawColor(Textdraw0,Colors[random(sizeof(Colors))]); TextDrawShowForPlayer(i,your textdraw); } SetTimer("TextdrawColorChange", 6000, 0); }
Try.
|
I don't think that's the effect he wanted, that changes the color of the entire textdraw. He want's a linear flasher that flashes each character individually via TextDrawSetString while using GameText color modifiers.
Here's the link,
https://sampwiki.blast.hk/wiki/Colors_List.