Jump to content
  • 0

pomoc Aktualizace texdrawu


Benalek

Dotaz

Zdarec, mam udělany text draw na body, a chi aby se mi aktualizoval textdraw když se mi přičte bod..

 

Timer na přidani bodu

 

public boddej()
{
for(new i=0; i< MAX_PLAYERS; i++)
{
new string[300];
format(string, sizeof(string), "POINTS: %d", body[i]);
TextDrawSetString(Textdraw1,string);
}
return 0;
}

 

TEXTDRAW

 

Textdraw1 = TextDrawCreate(561.000000, 107.000000, "POINTS: 0");
TextDrawAlignment(Textdraw1, 3);
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.500000, 1.800000);
TextDrawColor(Textdraw1, -16776961);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);

 

Díky všem, jinak žadny error to nehazi, ale nepřičita body.

Link to comment
Share on other sites

6 odpovědí na tuto otázku

Recommended Posts

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...