Admin remove plugin bug help...
1 Attachment(s)
hi guyz. I did amx_removeadmin command plugin from direct console. But i have small problem.
When i want to delete an admin, this command is deleting admin succesfully but i take this error: amx_removeadmin OnurX Client with that name or userid not found => what is this error? fix pls :grrr: [CSOYUNCU] "OnurX" admin removed => process success :fox: [AMXX] Loaded 0 admins from file => process success :fox: i want to fix "Client with that name or userid not found" error message... can you help me about this error.i attached sma thanks. |
Re: Admin remove plugin bug help...
It means that the provided client name ("OnurX") wasn't found at the online client list
|
Re: Admin remove plugin bug help...
Quote:
after it error : [CSOYUNCU] "OnurX" admin removed [AMXX] Loaded 0 admins from file |
Re: Admin remove plugin bug help...
... That message is shown because your plugin is trying to find a user connected with that name. Since you are not using it, remove this part
Code:
new player = cmd_target(id, szName, 8) |
Re: Admin remove plugin bug help...
Quote:
problem solved |
Re: Admin remove plugin bug help...
If you remove the code, you won't be able to remove online players with partial names or with names if they are registered with steamid.
Would be better to let the code as it is, message is just a warning but code is still working fine. Also, that code has been copy/pasted from amx2006, FYI. |
Re: Admin remove plugin bug help...
Quote:
|
Re: Admin remove plugin bug help...
Anyway, you can fully ignore that message.
You can use this : PHP Code:
|
Re: Admin remove plugin bug help...
thanks for your script connor. I will use your codes my panels. Thanks again ;)
|
Re: Admin remove plugin bug help...
connor for remove steamid admins, what must i do ?
|
| All times are GMT -4. The time now is 15:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.