Not Work (TextDraw)
#4

Quote:
Originally Posted by SwisherSweet
Посмотреть сообщение
Where are using this? And when do you want the textdraws to dissapear OnPlayerSpawn or what?
In Player Enter Checkpoint SHow Textdraw
But i Dont know How TO hiden text draw This is Code :
Код:
    if(getCheckpointType(playerid) == CP_CityHallMain)
	{
	    if(IsPlayerInAnyVehicle(playerid))
	    {
	        SendClientMessage(playerid,COLOR_RED,"You must exit your vehicle before entering a checkpoint.");
	        return 1;
		}
        if(Showing[playerid] == 1)
		{
			Showing[playerid] = 0;
			TextDrawHideForPlayer(playerid, Textdraw1);
			TextDrawHideForPlayer(playerid, Textdraw2);
			TextDrawHideForPlayer(playerid, Textdraw4);
			TextDrawHideForPlayer(playerid, Textdraw5);
			TextDrawHideForPlayer(playerid, Textdraw6);
		}
		else
		{
			Showing[playerid] = 1;
			TextDrawShowForPlayer(playerid, Textdraw1);
			TextDrawShowForPlayer(playerid, Textdraw2);
			TextDrawShowForPlayer(playerid, Textdraw4);
			TextDrawShowForPlayer(playerid, Textdraw5);
			TextDrawShowForPlayer(playerid, Textdraw6);
		}
	    return 1;
	}
Reply


Messages In This Thread
Not Work (TextDraw) - by alishvasis - 12.02.2014, 07:34
Re: Not Work (TextDraw) - by alishvasis - 12.02.2014, 07:55
Re: Not Work (TextDraw) - by SwisherSweet - 12.02.2014, 08:04
Re: Not Work (TextDraw) - by alishvasis - 12.02.2014, 08:15
Re: Not Work (TextDraw) - by alishvasis - 12.02.2014, 08:45

Forum Jump:


Users browsing this thread: 3 Guest(s)