22.07.2012, 07:08
OnPlayerConnect , I've set a 30 minute tax timer for the player who just connected so they can pay taxes every 30 minutes. When the timer reaches 30 minutes, they will pay taxes once.
The problem is, if I gmx the server, the tax timer is set twice because of the first time the player joined and second time because of the gmx. Now when 30 minutes reaches, they pay tax twice because the timer was set twice.
I've tried killing the timer in OnGameModeInit and on OnPlayerDisconnect but it still sets twice because of the gmx.
Anyone know why ?
The problem is, if I gmx the server, the tax timer is set twice because of the first time the player joined and second time because of the gmx. Now when 30 minutes reaches, they pay tax twice because the timer was set twice.
I've tried killing the timer in OnGameModeInit and on OnPlayerDisconnect but it still sets twice because of the gmx.
Anyone know why ?