Jump to content

Question

5 answers to this question

Recommended Posts

  • 0
Posted

Si ce ar trebui mai exact sa faca acest timer? Din ce ai zis tu eu as putea presupune urmatoarea: 

SetTimer("TextLabel", 1000, false);

forward TextLabel();
public TextLabel()
{
	Create3DTextLabel();
}

Creaza X TextLabel dupa 1 sec

  • 0
Posted

Deci, eu am un sistem asemanator Ruby cu beehive, doar ca am ramas blocat la timer, totul este terminat, timer-ul nu stiu sa-l fac.

  • 0
Posted

As vrea un timer atunci cand dai o comanda sa-ti apara un textdraw cu un timer jos micut, stiu ca asta nu e cu Create3DTextLabel, iar cand timer-ul ajunge la 0 sa  poti da din nou, asta nu reusesc eu sa fac

  • 0
Posted

ceva beta facut pe moment, e doar o idee cum ai putea sa faci

new Time[MAX_PLAYERS], string[32]; //
new PlayerText3D: Nume;

Nume = CreatePlayer3DTextLabel(i, text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance); // il creezi un il folosesti prima data

TimerDeOSecunda()
{
	foreach(new i: Player)
	{
		if(Time[i] > 0)
		{
			Time[i]--;
			format(string, sizeof(string), "Secunde %d", Time[i]);
			UpdatePlayer3DTextLabelText(i, Nume, color, string);
		}
	}
}

 

Citat

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.