Chat Prefixes
Alright, I know its possible to add a prefix before a players name, for example:
Normal Chat: GXLZPGX: Hey guys! Prefix Chat: [ADMIN] GXLZPGX: Hey guys! I think it would be much easier for someone to give me an example than for me to look through 50 plugins just to find that I need to scramble through the code of another plugin to find out how to do this. |
Re: Chat Prefixes
in init
PHP Code:
PHP Code:
|
Re: Chat Prefixes
Quote:
|
Re: Chat Prefixes
PHP Code:
|
Re: Chat Prefixes
You're hooking a message and instead of altering it you're sending other ones.
Better way (not tested): Code:
public plugin_init() |
Re: Chat Prefixes
PHP Code:
|
Re: Chat Prefixes
or why don't you just use
PHP Code:
|
Re: Chat Prefixes
Quote:
|
Re: Chat Prefixes
Simple and efficient : http://forums.alliedmods.net/showthr...99#post1265199
|
Re: Chat Prefixes
Quote:
|
| All times are GMT -4. The time now is 21:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.