Jump to content
  • 0

pomoc TextDraw


arci224

Dotaz

	if(IsPlayerInRangeOfPoint(playerid, 1, -112.0329,1027.7384,19.8497))
	{
        PlayerTextDrawShow(playerid, Textdraw6);
	}else{
		PlayerTextDrawHide(playerid, Textdraw6);
	}

Mam takto code viz hore, ale problém je v tom že když v tom nejsem tak se to neschová, mam to na timeru, a žádný error ani warning to nedává

Link to comment
Share on other sites

4 odpovědí na tuto otázku

Recommended Posts

  • 0
  • Globální moderátor

PlayerTextDraw

 

je nějaký player-textdraw neznám je to nějaká novinka,zkoušel jsi klasické TextDrawShow/HideForPlayer?

Link to comment
Share on other sites

  • 0

tak bude chyba nekde jinde. udelej si na to debug.

if(IsPlayerInRangeOfPoint(playerid, 1, -112.0329,1027.7384,19.8497))
	{
        PlayerTextDrawShow(playerid, Textdraw6);
        SendClientMessage(playerid,-1,"Ukazuji TD");
	}else{
		PlayerTextDrawHide(playerid, Textdraw6);
        	SendClientMessage(playerid,-1,"Schovavam TD");
	}

takhle nejlip ujistis jesti se ti neco vyvolava nebo ne.

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