Jump to content
  • 0

pomoc Nerozbrazí se textdraw


Deejva

Dotaz

Zdravím

   if(IsPlayerInAnyVehicle(p))
   {


   }else{
       new str[100];
       new minu = GTime[i] / 60;
       new sec = GTime[i] - minu * 60;
       format(str,sizeof(str),"Utok: %d:%d",minu,sec);
       printf(str);
       TextDrawSetString(Gangcas[p],str);
       TextDrawShowForPlayer(p,Gangcas[p]);
       print("asd");
   }

Když nejsem ve vozidle, textdraw se mi nezobrazí. V se čas po sekundě píše, "asd" se tam píšee taky, ale ten TD se mi prostě neukáže..

 

Link to comment
Share on other sites

2 odpovědí na tuto otázku

Recommended Posts

  • 0

OnPlayerConnect

Gangcas[playerid] = TextDrawCreate(479.000000, 222.000000, "Cas: 5:00");
TextDrawBackgroundColor(Gangcas[playerid], 255);
TextDrawFont(Gangcas[playerid], 1);
TextDrawLetterSize(Gangcas[playerid], 0.500000, 1.899999);
TextDrawColor(Gangcas[playerid], -1);
TextDrawSetOutline(Gangcas[playerid], 1);
TextDrawSetProportional(Gangcas[playerid], 1);
TextDrawSetSelectable(Gangcas[playerid], 0);

Už vyšešeno

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