09.01.2015, 20:41
Aver, asн lo tengo y me sigue dando los warnings:
pawn Код:
forward DetectarAFK();
public DetectarAFK()
{
foreach(Player, i)
{
if(AFK[i] == 1)
{
TiempoAFK[i]++;
format(cadena, sizeof(cadena), "{FF8211}Pausado{FFFFFF} [Durante {FFFF00}%i{FFFFFF} minutos]", TiempoAFK[i]);
Dafk[i] = Create3DTextLabel(cadena, 0xFFFFFFFF, 30.0, 40.0, 50.0, 40.0, 0, 0);
Attach3DTextLabelToPlayer(Dafk[i], i, 0.0, 0.0, 0.5);
}
else
{
DeletePlayer3DTextLabel(i, Dafk[i]);
TiempoAFK[i] = 0;
AFK[i] = 1;
}
}
return 1;
}