SA-MP Forums Archive
Problem with TextDraw's - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with TextDraw's (/showthread.php?tid=523118)



Problem with TextDraw's - DovIIs - 30.06.2014

Код:
if(PlayerData[playerid][lytis] == 1)
	if(playertextid == istorija3[playerid])
	{
	    if(jeigu[playerid] == 0)
		PlayerTextDrawHide(playerid, istorija1[playerid]);
		PlayerTextDrawShow(playerid, istorija99[playerid]);
		jeigu[playerid] ++;
	}
 	else if(jeigu[playerid] == 1)
	{
		PlayerTextDrawHide(playerid, istorija99[playerid]);
		PlayerTextDrawShow(playerid, istorija98[playerid]);
	}
	if(playertextid == istorija4[playerid])
	{
	    if(jeigu[playerid] == 1)
   		PlayerTextDrawHide(playerid, istorija99[playerid]);
		PlayerTextDrawShow(playerid, istorija1[playerid]);
		jeigu[playerid] --;
	}
	else if(jeigu[playerid] == 0)
	{
   		PlayerTextDrawHide(playerid, istorija98[playerid]);
		PlayerTextDrawShow(playerid, istorija99[playerid]);
	}
I don't get other textdraw, what is wrong ?


Re: Problem with TextDraw's - DovIIs - 30.06.2014

some1?


Re: Problem with TextDraw's - BleverCastard - 30.06.2014

Debug. If you're too lazy to do that, then remove the "else" - it might sound stupid, but it's worked before.