Giving a player flags, somebody joins = flags are removed
So I have an issue and I found why it happens but Im not sure how do I fix it.
With the code below I can give someone the flag U so he can use the blockmaker on my server and when I write amx_who his flags are U and Z. It works.. but whenever somebody joins the server who has got no flags except Z (which is the default player flag as you know) the U flag I have given to the player disappears and then when I write amx_who again - he has only Z flag left. My question is: Do I have to remove the Z flag from the player first and then give him U flag, so when anybody joins the server it wont think that the player I gave the U flag is just a default player and his U flag will remain or is there another way I can fix this? PHP Code:
|
Re: Giving a player flags, somebody joins = flags are removed
|
Re: Giving a player flags, somebody joins = flags are removed
Dude :D Im not asking you to code my bm, Im asking you guys to tell me how do i fix an 'error'. This can be used in any other plugin as well. Thats not a blockmaker topic, its about giving rights, it just happens to be included in the blockmaker im using.
EDIT: PHP Code:
|
Re: Giving a player flags, somebody joins = flags are removed
There's no reason for that to happen. The problem is from a plugin you're using. I think that happen when amx_reloadadmins is used, so some plugin may be executing it in a bad time.
|
Re: Giving a player flags, somebody joins = flags are removed
I removed every plugin im using (except from amxx) and it still happens.
EDIT: Okay, I found this in admin.sma PHP Code:
EDIT 2: that has nothing to do with the issue :D EDIT 3: My plugins: PHP Code:
|
Re: Giving a player flags, somebody joins = flags are removed
Of course it has something do to with it. The amx_reloadadmins resets all flags and some plugin you're using is executing that command when a player connects.
|
| All times are GMT -4. The time now is 20:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.