22.02.2015, 18:57
Well maybe if you indented it properly you'd see it.
Try this.
Try this.
pawn Код:
stock Fresh()
{
CheckHealth();
CheckArmour();
Update3dText();
new hour, minute, second, tmphour, tmpminute, tmpsecond, strings[128];
gettime(hour, minute, second);
gettime(tmphour, tmpminute, tmpsecond);
FixHour(tmphour);
tmphour = shifthour;
for(new i; i<MAX_PLAYERS)
{
playerData[i][pAFK] ++;
if(playerData[i][pAFK] >= 3)
{
format(strings,32,"Игрок на паузе: %d секунд.", playerData[i][pAFK] - 2);
SetPlayerChatBubble(i, strings, 0xFFFF00FF, 19.0, 1500);
}
if(IsPlayerConnected(i))
{
if(playerData[i][pMis] >= 3)
{
DelAdmin(i, playerData[i][pNames]);
}
}
}
}