No errors or warnings, yet it doesnt work
1 Attachment(s)
Hey!
I'm new to plugin-scripting, and this is my first 'real' plugin. There is no errors nor warnings with AMXMODX Studio, but it still doesn't work. It is supposed to (in CS 1.6) spawn a grenade of the users choice after a predefined span of time. The sma-file is attached. Any advice will be appriecieted. |
Re: No errors or warnings, yet it doesnt work
Is there anything in the Error Logs?
|
Re: No errors or warnings, yet it doesnt work
As said, AmxModX Studio did not repport any errors or warnings when i compiled it.. yet it says 'bad load' when i typen amx_plugins in cs console..
|
Re: No errors or warnings, yet it doesnt work
Then use "amxx plugins" and see why it is giving a bad load. Also, the Error Logs are the logs generated by AMXX when a plugin encounters a run-time error, not the compile errors
|
Re: No errors or warnings, yet it doesnt work
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: No errors or warnings, yet it doesnt work
thanks :)
I'll try/do that.. |
Re: No errors or warnings, yet it doesnt work
1 Attachment(s)
I've re-written it all, and now i get no errors from the compiler, nor amx-logs. But it still doesn't work!
I think the problem lies in this: PHP Code:
PHP Code:
Once again I have linked the entire plugin here.. Another thing wich annoys me is, that my plugin apearantly needs to be set in "debug mode", as I am using RegisterHam().. Is there no way to avoid that? |
Re: No errors or warnings, yet it doesnt work
PHP Code:
PHP Code:
|
Re: No errors or warnings, yet it doesnt work
still doesn't work.. :(
BTW, is the ID in set_task not an individual ID for the task (which is only used in case u wanna terminate the task)? |
Re: No errors or warnings, yet it doesnt work
The task id passed to set task acts as the unique id for that task and can also be used to pass a player id (or any integer val) to the called function.
PHP Code:
|
| All times are GMT -4. The time now is 14:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.