Code:
Problem:
And when i go IG, i input code but dialog does nothing
HTML Code:
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);
}
}
}
HTML Code:
warning 202: number of arguments does not match definition