Set timer
#1

How can i set timer that will restart my gamemode every 10 minutes ??
Reply
#2

pawn Код:
forward Restart();
pawn Код:
OnGameModeInit()
{
   SetTimer("Restart", 600000, 0);
   return 1;
}
pawn Код:
public Restart()
{
   SendRconMessage("gmx");
   return 1;
}
Reply
#3

Quote:
Originally Posted by Last_Stand_Guardian
pawn Код:
forward Restart();
pawn Код:
OnGameModeInit()
{
   SetTimer("Restart", 600000, 0);
   return 1;
}
pawn Код:
public Restart()
{
  SendRconMessage("gmx");
  return 1;
}
SendRconMessage?This code doesn't exist.Maybe you meant SendRconCommand?
Reply
#4

Quote:
Originally Posted by MaykoX[PSYCHO
]
SendRconMessage ? lol...
Oh damn xD Yes SendRconCommand not Message xD I'm sorry =D
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)