[Pedido] Comando Rcon + SetTimer + Altomatico
#6

Quote:
Originally Posted by PT
Посмотреть сообщение
so falta

pawn Код:
SetTimer("RelogarFS", 360000, 1);
dnv na callback pra ficar sempre a cada 1 hora a relogar o fs


pawn Код:
forward RelogarFS();
public RelogarFS()
{
    SendRconCommand("reloadfs tcadmin4");
    SetTimer("RelogarFS", 360000, 1);
    return 1;
}
Para que colocar de novo na callback se ele foi definido para repetir?

pawn Код:
SetTimer("RelogarFS", Tempo, Repetir: 1 / 0);
https://sampwiki.blast.hk/wiki/SetTimer
Reply


Messages In This Thread
Comando Rcon + SetTimer + Altomatico - by Wakayama - 28.09.2013, 22:41
Re: Comando Rcon + SetTimer + Altomatico - by Wellington1999 - 28.09.2013, 22:47
Re: Comando Rcon + SetTimer + Altomatico - by Magnus' - 28.09.2013, 22:47
Re: Comando Rcon + SetTimer + Altomatico - by PT - 28.09.2013, 22:59
Re: Comando Rcon + SetTimer + Altomatico - by Wellington1999 - 28.09.2013, 23:03
Re: Comando Rcon + SetTimer + Altomatico - by Coe1 - 28.09.2013, 23:05
Re: Comando Rcon + SetTimer + Altomatico - by Wakayama - 28.09.2013, 23:08
Re: Comando Rcon + SetTimer + Altomatico - by PT - 28.09.2013, 23:16

Forum Jump:


Users browsing this thread: 1 Guest(s)