Jump to content
  • 0

Question

Posted

Am facut o comanda pentru mod si mai am nevoie de un textdraw care clipoceste, adica apare si dispare. Cum pot sa fac efectul asta?

5 answers to this question

Recommended Posts

Posted

Sus in script:

new BlinkingState = 0;
La OnGameModeInit:
SetTimer("BlinkingTextdraw", 500, 1);
Undeva in GM:
forward BlinkingTextdraw(playerid);
public BlinkingTextdraw(playerid)
{
	switch( BlinkingState )
	{
		case 0: TextDrawShowForAll(nume_textdraw), BlinkingState = 1;
		case 1: TextDrawHideForAll(nume_textdraw), BlinkingState = 0;
	}
	return 1;
}

* nume_textdraw inlocuiesti cu numele textdrawului care vrei sa apara/dispara mereu.

Sper ca merge.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.