Forum

> > CS2D > Scripts > Chat bug
Forums overviewCS2D overview Scripts overviewLog in to reply

English Chat bug

11 replies
To the start Previous 1 Next To the start

old Chat bug

Fossil
User Off Offline

Quote
Hey there forum! I've got a problem.. it seems there is a chat bug.. IMG:https://s18.postimage.org/p1dryc4ft/Chat_fix.png


Can you guys help me?

old Re: Chat bug

EngiN33R
Moderator Off Offline

Quote
Variants:
1. You didn't put return 1 into the say hook;
2. You have multiple say hooks with return 1.

Solutions:
1. Put return 1 into the say hook in the appropriate place(s);
2. Merge all say hooks into one.

old Re: Chat bug

DC
Admin Off Offline

Quote
addition:
Solution 3 (in case there are multiple say-hooks): add a priority parameter to the say-addhook function which does this.

old Re: Chat bug

Fossil
User Off Offline

Quote
I wiped my nose cause it was bleeding cause I didn't understand a thing you guys just said. LOL

old Re: Chat bug

Tobey
User Off Offline

Quote
just put all lua scripts you use on the server in a spoiler and code tag, and we will tell you the fix of it.

old Re: Chat bug

Fossil
User Off Offline

Quote
Oh sorry, I'm using the basic roleplay lua extened sumthing sumthing..

old Re: Chat bug

EngiN33R
Moderator Off Offline

Quote
user Fossil has written
I wiped my nose cause it was bleeding cause I didn't understand a thing you guys just said. LOL


Do you not understand us to the point of bleeding? You really need to learn a bit more Lua then.

old Re: Chat bug

Crash13
User Off Offline

Quote
user Fossil has written
Hey there forum! I've got a problem.. it seems there is a chat bug.. IMG:https://s18.postimage.org/p1dryc4ft/Chat_fix.png


Can you guys help me?


More "say hooks" are so bad, or you don't added return 1

Example:

Spoiler >


More >
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview