Warning 217: loose indentation
#1

// OnDialogResponse
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
for(new i; i < sizeof(antisqlinjection); i++)
{
if(strfind(inputtext, antisqlinjection[i], true) != -1)
{
SCM(playerid, -1, "Nu sunt permise asemenea caractere.");
return 1;
}
}
new vehicleid = GetPlayerVehicleID(playerid); //here i have a problem.
new sendername[25];
new string[300];
if( dialogid == DIALOG_TW )
{
if( !response )
{
//ban this idiot!!
new year,month,day;
getdate(year, month, day);
day += 7;
if (IsMonth31(month))
{
if (day > 31)
{
month += 1;
if (month > 12)
{
year += 1;
while(day > 31) day -= 31;
}
else while(day > 31) day -= 31;
}
}
Reply


Messages In This Thread
Warning 217: loose indentation - by Arcada23 - 08.03.2017, 12:17
Re: Warning 217: loose indentation - by Arcada23 - 08.03.2017, 12:20
Re: Warning 217: loose indentation - by BlackbirdXd - 08.03.2017, 12:28
Re: Warning 217: loose indentation - by TopShooter2 - 08.03.2017, 12:29
Re: Warning 217: loose indentation - by TitanX - 08.03.2017, 12:38
Re: Warning 217: loose indentation - by Arcada23 - 08.03.2017, 13:08
Re: Warning 217: loose indentation - by JessThompson - 08.03.2017, 13:12
Re: Warning 217: loose indentation - by Bingo - 08.03.2017, 13:13
Re: Warning 217: loose indentation - by Arcada23 - 08.03.2017, 13:22
Re: Warning 217: loose indentation - by TitanX - 08.03.2017, 19:06

Forum Jump:


Users browsing this thread: 2 Guest(s)