Error in AMX MOD X: Static variable is not a static!
Code inside .inc
Code:
stock rm_base_plugin_id()Why static not works as I need (like in c/c++ language) |
Re: Error in AMX MOD X: Static variable is not a static!
I think it should be
Code:
Also you should printout pluginid when set pluginid = i to make sure it run though. |
Re: Error in AMX MOD X: Static variable is not a static!
Why are you pre incrementing the variable i.
I can't remember if the 0 id is being Skipped but other than that everything seems fine. Also luna declaration of a static variable with a starting constant value is valid. So this is valid! PHP Code:
Also for the OP Try using server_print instead of log_amx and see if the thing is outputted, but make sure to call the function more than once. |
Re: Error in AMX MOD X: Static variable is not a static!
Quote:
|
Re: Error in AMX MOD X: Static variable is not a static!
Sounds like this block is never called
PHP Code:
|
Re: Error in AMX MOD X: Static variable is not a static!
Quote:
|
| All times are GMT -4. The time now is 11:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.