Textdraw Won't hide?
#5

Redid the code a little but still does not work

Код:
SetFreezePos(playerid, Float:x, Float:y, Float:z)
{
    if(PlayerInfo[playerid][pFreezeTimer] >= 0)
	{
		KillTimer(PlayerInfo[playerid][pFreezeTimer]);
	}

    PlayerInfo[playerid][pFreezeTimer] = SetTimerEx("UnfreezePlayer", 3000, false, "ifff", playerid, x, y, z);
	SetPlayerPos(playerid, x, y, z);

    TogglePlayerControllable(playerid, false);
	TextDrawShowForPlayer(playerid, Loading[0]);
	TextDrawShowForPlayer(playerid, Loading[1]);
	TextDrawShowForPlayer(playerid, Loading[2]);
	TextDrawShowForPlayer(playerid, Loading[3]);
	TextDrawShowForPlayer(playerid, Loading[4]);
	TextDrawShowForPlayer(playerid, Loading[5]);
//	TextDrawShowForPlayer(playerid, Loading[6]);
	SetTimerEx("SafeLoadObjectsClear", 3000, false, "i", playerid);
}
Код:
forward SafeLoadObjectsClear(playerid);
public SafeLoadObjectsClear(playerid)
{

	TextDrawHideForPlayer(playerid, Loading[0]);
	TextDrawHideForPlayer(playerid, Loading[1]);
	TextDrawHideForPlayer(playerid, Loading[2]);
	TextDrawHideForPlayer(playerid, Loading[3]);
	TextDrawHideForPlayer(playerid, Loading[4]);
	TextDrawHideForPlayer(playerid, Loading[5]);
}
Reply


Messages In This Thread
Textdraw Won't hide? - by kevann - 26.01.2018, 18:01
Re: Textdraw Won't hide? - by AmigaBlizzard - 26.01.2018, 20:53
Re: Textdraw Won't hide? - by Wanheda - 27.01.2018, 02:21
Re: Textdraw Won't hide? - by Sew_Sumi - 27.01.2018, 03:25
Re: Textdraw Won't hide? - by kevann - 27.01.2018, 13:10
Re: Textdraw Won't hide? - by Sew_Sumi - 27.01.2018, 13:30
Re: Textdraw Won't hide? - by kevann - 27.01.2018, 14:38
Re: Textdraw Won't hide? - by kevann - 27.01.2018, 14:48

Forum Jump:


Users browsing this thread: 3 Guest(s)