25.06.2012, 14:10
Quote:
Why not detect if they are running after a car and make them give up, rather than waiting for them to enter the vehicle then remove them again? What happens if there's already a passenger in the vehicle given that they will still warp in currently?
|
As for why I use this method, using a 3 second timer then failing their entry will fail most of the time due to:
1. Lag - A player starts to enter a vehicle and an un-threaded mySQL gets sent on the server, the server hangs for roughly a second - they warp in and the server doesn't detect it because they're already in.
2. Doors - Say you have a Stretch and there's 2 passengers in, one in the front passenger seat and one in the back. If you stand at the front of the bonnet and press G it will take more than 3 seconds (if not sprinting) to reach the door - causing them to warp in. I know this can be fixed by them standing at a door THEN press G, but it would piss players off.
3. They could spam G and run after it long enough to be warped in, cancelling out the timer thing
4. This is what Crazybob does, so it's not that bad.
Don't get the impression I don't like your feedback - I always look forward to your feedback because you're honest, direct and give constructive criticism. It's okay people saying 'WELL DONE GOOD WORK!!!!' but the best comments are always the criticisms - it helps you get better.