Jump to content
FapFap

Local Chat

Recommended Posts

13 hours ago, FapFap said:

Can someone help me to deny player talk more than 100 letters on localchat?!

Server-side.. 

Hi!

I just made this up for you, works fine in my side.

Quote

if string.len(message) > 100 then
    BickerNotice(role,"<Chat> Message too long!")
    return false
end

Paste in the beginning of your ChatHandler function.

 

Btw, if I may ask, why are you applying such limitation?

Share this post


Link to post
Share on other sites
23 minutes ago, Faller said:

Hi!

I just made this up for you, works fine in my side.

Paste in the beginning of your ChatHandler function.

 

Btw, if I may ask, why are you applying such limitation?

My gameserver aint using chathandler.. rip x.x

I would tell you but can't make it public

Share this post


Link to post
Share on other sites
1 minute ago, FapFap said:

My gameserver aint using chathandler.. rip x.x

I would tell you but can't make it public

I don't think it will be possible through Lua then :/

Share this post


Link to post
Share on other sites
Just now, FapFap said:

someone told me it can be prevented through lua

Through ChatHandler, for sure, that's the only connection between Local Chat and Lua

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...