warning 217: loose indentation
#5

this will fix it:
pawn Код:
public C_Paused(playerid)
{
if(GetTickCount()-g_Paused[playerid] > TIME_DIF && g_Requesting[playerid] != true && g_IsPaused[playerid] != true && InvalidStates(playerid) != 1)
{
OnPlayerPause(playerid);
g_IsPaused[playerid] = true;
}
else if(GetTickCount()-g_Paused[playerid] < TIME_DIF && g_Requesting[playerid] != true && g_IsPaused[playerid] != false && InvalidStates(playerid) != 1)
{
OnPlayerUnPause(playerid);
g_IsPaused[playerid] = false;
}
        return 1;
}

stock IsPlayerPaused(playerid)
{
return g_IsPaused[playerid];
}

stock InvalidStates(playerid)
{
new pState = GetPlayerState(playerid);
if(pState == 0 || pState == 7)
{
return 1;
}
else
{
return 0;
}
}
Reply


Messages In This Thread
warning 217: loose indentation - by Saddin - 11.12.2012, 16:10
Re: warning 217: loose indentation - by goviscrap - 11.12.2012, 16:23
Re: warning 217: loose indentation - by DiGiTaL_AnGeL - 11.12.2012, 16:26
Re: warning 217: loose indentation - by Saddin - 11.12.2012, 16:35
Re: warning 217: loose indentation - by XtremeR - 11.12.2012, 16:43
Re: warning 217: loose indentation - by goviscrap - 11.12.2012, 16:45
Re: warning 217: loose indentation - by Plovix - 11.12.2012, 16:46
Re: warning 217: loose indentation - by [RoXx]Okiinho_. - 12.12.2012, 14:35
Re: warning 217: loose indentation - by LarzI - 12.12.2012, 14:41

Forum Jump:


Users browsing this thread: 1 Guest(s)