Debug Error in HLDS Console
L 10/06/2009 - 22:49:06: Invalid player id 0
L 10/06/2009 - 22:49:06: [AMXX] Run time error 10 (plugin "match.amxx") (native "get_user_weapon") - debug not enabled! L 10/06/2009 - 22:49:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). PHP Code:
|
Re: Debug Error in HLDS Console
You are calling native get_user_weapon with an index of 0 which isn't a player entity that the native would require. Also you haven't enabled the debug mode, which I believe would be pretty smart.
|
Re: Debug Error in HLDS Console
Than can u plz correct my code
|
Re: Debug Error in HLDS Console
No. You have to enable the debug mode and read the line which you get. What is funny is that the line is the line in your code where the error is. Don't know how that's possible but...
|
Re: Debug Error in HLDS Console
SNOW man how to enable Debugging and also plz CORRECT MY CODE if u know.........
|
Re: Debug Error in HLDS Console
This is plugin which goes like this
whn amx_match is typed than players only get knife and r not allowed to buy any other weapons.........KNIFING ROUND |
Re: Debug Error in HLDS Console
It's in here:
PHP Code:
Code:
match.amxx debug |
Re: Debug Error in HLDS Console
What i ve to edit to Run plugin without Debugging
|
Re: Debug Error in HLDS Console
Quote:
|
Re: Debug Error in HLDS Console
EXOLENT[NJR] Can u correct my above codeee
|
| All times are GMT -4. The time now is 22:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.