Little help with debug
ok, this plugin compiles with no warnings, no errors, and runs fine, but in the server console, i get these two things:
'invalid player 1' on line 2424, heres the function with line 2424 in it, the set_user_hitzones line is the error line: Code:
and i get 'invalid player id 24' on line 1558, heres the function, the new clip, ammo (etc) line is the error line: Code:
can someone please help me? its the dragoneye plugin i ported if you want the full source |
Quote:
Code:
|
2 Attachment(s)
well, i did it... but i am now getting 2 warnings and the errors in the server are still coming up. heres the source and include file without what i did, maybe someone could work with it?
|
Okay, I put the functions from dragoneye.inc into dragoneye.sma (there were so few and extra includes is a pain), added defines for classes (CLASS_NECRO, CLASS_PALLY, CLASS_MAGE, CLASS_ASSN), as get_user_class returns an integer and not a string, and changed cs_user_spawn (amxmod function) to spawn (amxmodx function).
EDIT: files removed |
:D thank you avalance, your a genius
|
| All times are GMT -4. The time now is 14:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.