Jump to content
  • 0

pomoc Nejde timer


damo115

Dotaz

cawte mam timer ale on nejde to co mam v publicu sa stane hned

kod:

 

forward listatimer();
SetTimer("listatimer",20000,1);
public listatimer() {
new text[100];
format(text, sizeof(text), "|TIP|2.");
TextDrawSetString(lista, text);
return 1;
}

errory ziadne

Link to comment
Share on other sites

5 odpovědí na tuto otázku

Recommended Posts

  • 0

TD:

//Lista
lista = TextDrawCreate(2,430,"|TIP|Ak nevies ake su prikazy tak napis /prikazy /porty");
TextDrawLetterSize(lista,0.500000,1.300000);
TextDrawAlignment(lista,0);
TextDrawBackgroundColor(lista,0x33AA33AA);
TextDrawFont(lista,1);
TextDrawUseBox(lista,1);
TextDrawBoxColor(lista,0x00000066);
TextDrawTextSize(lista,642.000000,214.000000);
TextDrawSetOutline(lista,0);
TextDrawSetProportional(lista,1);
TextDrawSetShadow(lista,1);

Link to comment
Share on other sites

  • 0
keď zmeníš string (TextDrawSetString) tak automaticky zobrazí textdraw...

kdyz hracovi nezobrazis textdraw a pouzijes textdrawsetstring jemu se sam od sebe neobevi ale pokud ho uz ma zobrazeny tak se editne na ten novy text a nemusis pouzit hide a show

Link to comment
Share on other sites

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
×
×
  • Create New...