Textdraw bug?
#1

I got a script and there is a bug when I enter a checkpoint and the textdraw will be displayed and If I then leave the checkpoint and the textdraw will not be disabled and I have printed OnPlayerLeaveDynamicCP this callback out, it won't be called, could anyone tell me what bug it is?

Here is code.


Код:
public OnPlayerLeaveDynamicCP(playerid, checkpointid)
{
    TextDrawHideForPlayer(playerid, TD_AD_HeadBox);
	TextDrawHideForPlayer(playerid, TD_AD_BoxTwo);
	TextDrawHideForPlayer(playerid, TD_AD_BoxThree);
	TextDrawHideForPlayer(playerid, TD_AD_BoxOne);
	TextDrawHideForPlayer(playerid, TD_AD_Seller);
	PlayerTextDrawHide(playerid, TD_AD_Price);
	PlayerTextDrawHide(playerid, TD_AD_CityZip);
	PlayerTextDrawHide(playerid, TD_AD_Headline);
	PlayerTextDrawHide(playerid, TD_AD_Taxes);
	PlayerTextDrawHide(playerid, TD_AD_PriceValue);
	PlayerTextDrawHide(playerid, TD_AD_TaxesValue);
	PlayerTextDrawHide(playerid, TD_AD_SellerValue);
	PlayerTextDrawHide(playerid, TD_AD_HousenumberStreet);
	PlayerTextDrawHide(playerid, TD_Mid_Info);
	return 1;
}
Reply


Messages In This Thread
Textdraw bug? - by SetPlayerNameTag - 27.05.2015, 14:31
Re: Textdraw bug? - by Luis- - 27.05.2015, 14:32
Re: Textdraw bug? - by SetPlayerNameTag - 27.05.2015, 18:31
Re: Textdraw bug? - by Toxik - 27.05.2015, 18:50
Re: Textdraw bug? - by SetPlayerNameTag - 28.05.2015, 08:08

Forum Jump:


Users browsing this thread: 1 Guest(s)