Chat Revamp API V1.2b
1 Attachment(s)
I did not perfectly test it but there isn't a reason it won't work. My current suspicion is that SayText may be sent more than once per chat.
This plugin revamps the chat ( say/_team ) and allows with a single forward and a single native, allowing to stop a player from receiving chat from a specific player and even eavesdrop to team chat. Despite being API, there are built in features. API Forward: Code:
public client_ChatPrintByPlayer(sender, receiver, bool:WillSend, bool:TeamChat, Message[], MessageTags[]) Code:
Code:
Note: All cvars are set in the beginning of the map. Code:
chat_revamp_enabled - Enables entire plugin. Default 1. |
Re: Chat Revamp API V1.1b
Why do you do all stuff in hook message?
https://github.com/s1lentq/ReGameDLL....cpp#L726-L770 Say command generate message for all players on server. One command -> 32(max) messages. In hook you do cycle with send message for players and block original message but then you can get another 31 messages, again own cycle for players. You did chat spammer. Why your stock func for SayText send message in unreliable channel? You can lost messages. |
Re: Chat Revamp API V1.1b
use pcvars instead.
|
Re: Chat Revamp API V1.1b
Quote:
|
Re: Chat Revamp API V1.1b
if i'm not wrong :/
PHP Code:
|
Re: Chat Revamp API V1.1b
Quote:
|
Re: Chat Revamp API V1.1b
I suspect that whenever someone writes in the chat, it's printed x times players connected.
|
Re: Chat Revamp API V1.1b
You can ALWAYS use pcvars(and you must)
|
Re: Chat Revamp API V1.1b
Quote:
|
Re: Chat Revamp API V1.1b
Quote:
Quote:
|
All times are GMT -4. The time now is 09:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.