Jump to content

Problema sistem loto


Recommended Posts

deci am 2 probleme, prima este ca nu merge sa aleg un nr:
 

if(clickedid == PublicTD[8]) {
		if(LotoNr1[playerid] == 1) return SCM(playerid, COLOR_ERROR, "Ai ales deja acest numar");
		if(LotoNr2[playerid] == 1) return SCM(playerid, COLOR_ERROR, "Ai ales deja acest numar");
		if(LotoNr3[playerid] == 1) return SCM(playerid, COLOR_ERROR, "Ai ales deja acest numar");
		else if(LotoNr1[playerid] == 0) {
			LotoNr1[playerid] += 1;
			SCM(playerid, -1, "Ai ales numarul 1");
			SCM(playerid, -1, "mai ai de ales 1/3 numere");
		}
		else if(LotoNr2[playerid] == 0) {
			LotoNr2[playerid] += 1;
			SCM(playerid, -1, "Ai ales numarul 1");
			SCM(playerid, -1, "mai ai de ales 1/3 numere");
		}
		else if(LotoNr3[playerid] == 0) {
			LotoNr3[playerid] += 1;
			SCM(playerid, -1, "Ai ales numarul 1");
			SCM(playerid, -1, "mai ai de ales 1/3 numere");
		}
	}

image.thumb.png.59721562727e15a4c28a8a7be5136b58.png

gen se aleg mai multe , si butonul de x nu merge :
 

if(clickedid == PublicTD[19]) {
		TextDrawHideForPlayer(playerid, PublicTD[7]);
		TextDrawHideForPlayer(playerid, PublicTD[8]);
		TextDrawHideForPlayer(playerid, PublicTD[9]);
		TextDrawHideForPlayer(playerid, PublicTD[10]);
		TextDrawHideForPlayer(playerid, PublicTD[11]);
		TextDrawHideForPlayer(playerid, PublicTD[12]);
		TextDrawHideForPlayer(playerid, PublicTD[13]);
		TextDrawHideForPlayer(playerid, PublicTD[14]);
		TextDrawHideForPlayer(playerid, PublicTD[15]);
		TextDrawHideForPlayer(playerid, PublicTD[16]);
		TextDrawHideForPlayer(playerid, PublicTD[17]);
		TextDrawHideForPlayer(playerid, PublicTD[18]);
		TextDrawHideForPlayer(playerid, PublicTD[19]);
	}
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.