Pull number
#1

Hi, I want to take my 3rd one there's the number. But the numbers are always the same when shooting comes in. How I can fix it. You help me ?
I'm sorry for my bad English.

Код:
function:evlerimiYukle(playerid)
{
	printf("");
	new test[3];
	foreach(new a: Evler)
	{
		if(strcmp(EvIslem[a][EvSahibi], getName(playerid), false) == 0)
		{
	    	test[0] = a;
			_evVer[playerid][evSlot][0] = a;
			_evVer[playerid][sehirKontrolu][0] = EvIslem[a][SehirKontrol];
			printf("#1 - ID: %d, Isim: %s\n", a, EvIslem[a][EvSahibi]);
		}
	}
	
 	foreach(new b: Evler)
	{
		if(strcmp(EvIslem[b][EvSahibi], getName(playerid), false) == 0)
		{
	    	if(test[0] != b)
	    	{
	    	    test[1] = b;
				_evVer[playerid][evSlot][1] = b;
				_evVer[playerid][sehirKontrolu][1] = EvIslem[b][SehirKontrol];
				printf("#2 - ID: %d, Isim: %s\n", b, EvIslem[b][EvSahibi]);
			}
		}
	}
	
  	foreach(new c: Evler)
	{
		if(strcmp(EvIslem[c][EvSahibi], getName(playerid), false) == 0)
		{
	    	if(test[1] != c)
	    	{
	    	    test[2] = c;
				_evVer[playerid][evSlot][2] = c;
				_evVer[playerid][sehirKontrolu][2] = EvIslem[c][SehirKontrol];
				printf("#3 - ID: %d, Isim: %s\n", c, EvIslem[c][EvSahibi]);
			}
		}
	}
}
Reply
#2

I'm sorry , I don't get what you mean
Reply
#3

Quote:
Originally Posted by Gotham
Посмотреть сообщение
I'm sorry , I don't get what you mean
I want to take 3 different numbers. It's all the same but the numbers.
Reply
#4

If you're going to request help here you should write your code in English. I have no idea what I'm looking at or what this is even supposed to do.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)