Server crashes because of this code
Hello! (Im sorry i make so many threads last days..)
So I took Exolent's HideNSeek plugin and I found a HideNSeek Deathmatch plugin somewhere and fused them. It works perfectly but there is a little glitch. On hns deathmatch when somebody dies - some CT is taken randomly and becames a T instead. This works too. But when there is no CT on the server and a T dies - It just crashes. Here is the code for getting a randomCT: PHP Code:
PHP Code:
|
Re: [Urgent] Server crashes because of this code
Check is_user_connected(lucky) before doing anything.
|
Re: [Urgent] Server crashes because of this code
Quote:
|
| All times are GMT -4. The time now is 20:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.