27.05.2013, 23:58
The problem is that you did not initialize variables playerTabbed, playerTabbedTime, playerSeconds, pCurrentWeapon anywhere. Plus, it is highly recommended that you don't use procedures like that one in OnPlayerUpdate callback, because it will result in server lag.