[HELP] /robbank Timer, how can i make one?
#5

Quote:
Originally Posted by Hrvo182
Quote:
Originally Posted by [K4L
Jake ]

And anywhere outside of a callback:

pawn Код:
public EnableBank(playerid);
{
 PlayerInfo[playerid][pRobTime] == 0
 KillTimer(TimerBankStack);
 return 1;
}
i get 2 errors:

Код:
C:\Users\User\Desktop\MyServer\gamemodes\roleplay.pwn(758) : error 055: start of function body without function header
C:\Users\User\Desktop\My Server\gamemodes\roleplay.pwn(761) : error 010: invalid function or declaration
pawn Код:
public EnableBank(playerid);
{
  PlayerInfo[playerid][pRobTime] = 0;
  KillTimer(TimerBankStack);
  return 1;
}
A waste of coding disabling the timer when you could just set it to false to not repeat, but sure.. That will work.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)