Alert message Textdraw
#1

I'm trying to create an alert message using a generic "warning" text draw I made, the idea is that, player gets it and depending on the message it changes the color and text.

Ex: Player tries to buy an owned car: Send "THIS IS NOT YOUR CAR!" message, in Red color for 5 seconds.

Код:
WarningTextdraw = TextDrawCreate(320.000000, 405.000000, "TEXT");
TextDrawAlignment(WarningTextdraw , 2);
TextDrawBackgroundColor(WarningTextdraw , 255);
TextDrawFont(WarningTextdraw , 2);
TextDrawLetterSize(WarningTextdraw , 0.389999, 1.899999);
TextDrawColor(WarningTextdraw , -16776961);
TextDrawSetOutline(WarningTextdraw , 1);
TextDrawSetProportional(WarningTextdraw , 1);
So my question is, when to update it, when to kill it :P and how to set it so that I can change the color (3 colors, grey, blue, red) and time shown for player ID.



I just ran out of logic
Reply


Messages In This Thread
Alert message Textdraw - by aNdReSk - 07.04.2012, 03:08
Re: Alert message Textdraw - by ViniBorn - 07.04.2012, 03:16
Re: Alert message Textdraw - by Faisal_khan - 07.04.2012, 03:57

Forum Jump:


Users browsing this thread: 1 Guest(s)