Stack error with hook_cvar_change
hello, i receive stack error when i'm trying to set any value for rcon_password.
what i was doing wrong ? Code:
#include <amxmisc>Console : Code:
] restart |
Re: Stack error with hook_cvar_change
Quote:
because of that an "infinite recursion" appears and the stack overflows |
Re: Stack error with hook_cvar_change
oh... i see, that explains all, thx
|
Re: Stack error with hook_cvar_change
Code:
#include <amxmisc> |
Re: Stack error with hook_cvar_change
thanks for try to help, but your change won't affect the problem.
anyway i solved it, thanks for explaining addicted2sex |
Re: Stack error with hook_cvar_change
I didn't expect it to not work with PLUGIN_HANDLED; I edited it now, it should work. I know you already found your own solution, but:
1. The code above might be simpler if you used a different method. 2. You did not share your solution, meaning if someone looks up a similar problem they won't know how to fix it, now they know. |
Re: Stack error with hook_cvar_change
Quote:
Code:
#include <amxmisc> |
Re: Stack error with hook_cvar_change
Quote:
|
Re: Stack error with hook_cvar_change
ik, but i told him that i solved it
|
| All times are GMT -4. The time now is 17:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.