PlayerTextDraw not hiding
#1

Hello, hey, wssup, I made cmd /td, to hide all In Game TDs, and it hides all TDs except one. That one is player's name TD, it is Player TD. Witch cmd /td you hide a lot of global TextDraws and a few Player TDs including player's name. All of those are normally hiding, except name TD. So what could be problem? That TD's string is updating only at OnPlayerConnect.

[If code is needed I'll post it]
Reply
#2

Provide the code
Reply
#3

Code:
        new TDsSrvsize = sizeof(TDsSrv);
        new SPEEDsize = sizeof(SPEED);
		for(new i = 0; i < TDsSrvsize; i++)
		{
	 		TextDrawHideForPlayer(playerid, TDsSrv[i]);
		}
		PlayerTextDrawHide(playerid, BankTD[0][playerid]);
		PlayerTextDrawHide(playerid, GoldTD[0][playerid]);
		PlayerTextDrawHide(playerid, HoursTD[0][playerid]);
		PlayerTextDrawHide(playerid, LvlTD[0][playerid]);
		TextDrawHideForPlayer(playerid, Aduty);
	        PlayerTextDrawHide(playerid, SkinTD[playerid]);
	        PlayerTextDrawHide(playerid, NameTD[0][playerid]);      /////This TD is making problem
		for(new iz = 0; iz < SPEEDsize; iz++)
		{
	 		PlayerTextDrawHide(playerid, SPEED[iz][playerid]);
		}
I know this variable for getting size of another variable is useless, but I just wanted to be sure
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)