strfind inputtext
#1

Code:
Код HTML:
if(dialogid == DIALOG_ADUTY)
	{
		if(!response) return 1;
		if(response)
		{
			if(strfind(inputtext) == PI[playerid][pKod]) //Warning here
			{
				new string[128];
				SetPlayerArmour(playerid, 100.0);
				g_SetPlayerHealth(playerid, 100.0);
				SetPlayerColor(playerid,AZUTA);
				format(string, sizeof(string), ""CRVENA"AG-AC | "BELA"Admin "HZELENA"%s "BELA"je na duznosti! (Admin Level %d)", GetName(playerid), PI[playerid][pAdmin]);
				AdminGameMaster(-1, string);
				AdminDuty[playerid] = 1;
			}
			else
			{
				SCM(playerid, -1, ""CRVENA"AG-AC | "BELA"Pogresili ste kod, kikovani ste!");
				freeze[playerid] = SetTimerEx("KonektKick", 500, 0, "d", playerid);
			}
		}
	}
Problem:
Код HTML:
warning 202: number of arguments does not match definition
And when i go IG, i input code but dialog does nothing
Reply


Messages In This Thread
strfind inputtext - by maksicnm - 08.01.2018, 19:26
Re: strfind inputtext - by MEW273 - 08.01.2018, 19:35
Re: strfind inputtext - by Misiur - 08.01.2018, 19:36
Re: strfind inputtext - by maksicnm - 08.01.2018, 19:41
Re: strfind inputtext - by MEW273 - 08.01.2018, 19:50
Re: strfind inputtext - by Misiur - 08.01.2018, 19:52
Re: strfind inputtext - by maksicnm - 08.01.2018, 19:57
Re: strfind inputtext - by MEW273 - 08.01.2018, 20:02
Re: strfind inputtext - by Misiur - 08.01.2018, 20:03
Re: strfind inputtext - by maksicnm - 08.01.2018, 20:07

Forum Jump:


Users browsing this thread: 1 Guest(s)