Debug mode show error.
PHP Code:
Please fix. And one more Problem, when i run server, its crash, i need plugin take out of plugin list, run server and then ad to plugin list and then change map, and then server will not crash. |
Re: Debug mode show error.
PHP Code:
|
Re: Debug mode show error.
Quote:
|
Re: Debug mode show error.
You hook damage and check attacker. However, if player takes damage from falling (example) then there will be no attacker and your plugin will break.
You need to check if the attacker is connected before trying to get the attacker's team. |
Re: Debug mode show error.
Its any way crash it, its not crash if i dont use function on_damage
http://pastebin.com/9S8mkz6g Plz edit, function on_damage, i dont know Quote:
|
| All times are GMT -4. The time now is 15:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.