AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Chat Manager [Admin Prefix & Color Chat] (https://forums.alliedmods.net/showthread.php?t=297952)

OciXCrom 02-02-2020 10:01

Re: Chat Manager [Admin Prefix & Color Chat]
 
It's another one then.

Napoleon_be 02-03-2020 17:12

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by msbeden (Post 2682480)
It is not related to this plugin. I deactivate it has not changed again.

Just deactive every other plugin u have and start from there. Activate the plugins 1 by 1 and you'll see which one is causing it pretty fast.

Natsheh 02-03-2020 17:33

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by msbeden (Post 2682480)
It is not related to this plugin. I deactivate it has not changed again.

i found a nonsense in your plugin it will be highlighted in red.

Code:

public kontrol(id)
{
        get_user_name(id,eskiisim,32)
        if(changed[id]) {
                changed[id] = true

should be set to false instead of true since its already true...

btw the plugin is very bad coded i suggest you use a better one try searching in the approved section..

roots 04-18-2020 14:51

Re: Chat Manager [Admin Prefix & Color Chat]
 
Hello,
Thanks for the plugin. It's my first time when I compile one.
I have check it by default, it's working well on the server.
Now I decided to add the city to, but I got the following error:
https://i.ibb.co/r21dhqH/amx-compiler-error.png
Can you please give me some hints? Thanks

OciXCrom 04-18-2020 15:15

Re: Chat Manager [Admin Prefix & Color Chat]
 
You need to update your GeoIP module - https://forums.alliedmods.net/showthread.php?t=95665
The one in AMXX 1.8.2 doesn't support city detection.

roots 04-18-2020 16:56

Re: Chat Manager [Admin Prefix & Color Chat]
 
Thanks. Probably would have took me more than 1 week to figure it out.
For other users, don't forget about the GeoLite2-City.mmdb ;)

supertrio17 05-24-2020 18:44

Re: Chat Manager [Admin Prefix & Color Chat]
 
Hi man, I use your plugin for my server (Chat Manager), I was wondering if it is possible to change it for me a little. I showed you plugin that I am working on, one for prefix with setinfo. But I need your plugin as well, its easier to do everything in config.

Can you add setinfo in your plugin. So that i can add like setinfo "name of setinfo" "value for that setinfo" "prefix"

Please respond as soon as possible

OciXCrom 05-25-2020 08:49

Re: Chat Manager [Admin Prefix & Color Chat]
 
Like I said, such a method makes no sense to me, so I won't be adding it in the main plugin. You can use this sub-plugin to set a prefix according to the value set in the "vip" setinfo field.

Code:
#include <amxmodx> #include <chatmanager> public plugin_init() {     register_plugin("CM: Setinfo Prefix", "1.1", "OciXCrom") } public cm_on_player_data_updated(id) {     new szInfo[32]     get_user_info(id, "vip", szInfo, charsmax(szInfo))     cm_set_user_prefix(id, szInfo) }

supertrio17 05-25-2020 14:23

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by OciXCrom (Post 2702214)
Like I said, such a method makes no sense to me, so I won't be adding it in the main plugin. You can use this sub-plugin to set a prefix according to the value set in the "vip" setinfo field.

Code:
#include <amxmodx> #include <chatmanager> public plugin_init() {     register_plugin("CM: Setinfo Prefix", "1.1", "OciXCrom") } public cm_on_player_data_updated(id) {     new szInfo[32]     get_user_info(id, "vip", szInfo, charsmax(szInfo))     cm_set_user_prefix(id, szInfo) }

I'm sorry, I did't understand this at all. Can you eplain it in simple way to me?

OciXCrom 05-25-2020 15:42

Re: Chat Manager [Admin Prefix & Color Chat]
 
setinfo vip "[Prefix]"


All times are GMT -4. The time now is 10:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.