Round Counter
I am trying to record the amount of rounds played. It is currently increasing by two instead of one. What could the problem be?
PHP Code:
|
Re: Round Counter
Try hooking the rounds like this:
PHP Code:
PHP Code:
|
Re: Round Counter
This is da method i would use to count no of rounds which have passed
Code:
|
Re: Round Counter
Also reset g_iRounds when game commencing or server restart if You want.
|
Re: Round Counter
Quote:
|
Re: Round Counter
Quote:
Quote:
|
Re: Round Counter
Thank you both.
I used both of your improvements. PHP Code:
|
Re: Round Counter
Make sure you reset the index when the client disconnect and/or connects to/from the server.
|
| All times are GMT -4. The time now is 11:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.