• How to get rid of speech bubble?
    11 replies, posted
How can I remove the speech bubble that is rotating above a players head when he is typing? Here is a screenshot of what it looks like - [url]http://prntscr.com/1j17dw[/url]
What game-mode are you running? That's an addon or part of the game-mode. The model in question is: models/extras/info_speech.mdl You could try checking your code to see where that model is being called and disable it.
[QUOTE=Acecool;41689538]What game-mode are you running? That's an addon or part of the game-mode. The model in question is: models/extras/info_speech.mdl You could try checking your code to see where that model is being called and disable it.[/QUOTE] DarkRP. Also, where would I find this? In the hud.lua file?
I'd recommend downloading Notepad++ and using the search all files tool. Filter by *.lua and look for the above text ( model ), do not check case-sensitivity.
Just remove the entity called chatindicator from your entities folder.
I don't think that's gonna make good results. It might remove the speech bubble, but it's gonna cause lua errors because the entity doesn't exist when the gamemode is trying to make it spin, or remove it when the player finishes typing. Just make that file's contents blank and it should not cause any errors.
[QUOTE=mitterdoo;41690853]I don't think that's gonna make good results. It might remove the speech bubble, but it's gonna cause lua errors because the entity doesn't exist when the gamemode is trying to make it spin, or remove it when the player finishes typing. Just make that file's contents blank and it should not cause any errors.[/QUOTE]Actually it won't cause errors if you delete the entity. All the chat bubble features are coded into the entity, not separate files so there shouldn't be a problem in just deleting it.
[QUOTE=ShadowRanger;41691870]Actually it won't cause errors if you delete the entity. All the chat bubble features are coded into the entity, not separate files so there shouldn't be a problem in just deleting it.[/QUOTE] but it is called from other functions right?. Then if you remove it when it's called you'll get a nice error, the best lazy way of fixing this is returning true in everything.
Is it called from other functions? I don't think it necessarily would be. I think DarkRP didn't have this as a feature before, but the exact same feature was a downloadable addon for use on any server regardless of gamemode. It's possible it could be it's own individual file, I'm not sure why it would need another file to call on it when it's just detecting when a player opens a chatbox and puts a spinning model above the player's head, seems like it could all be self contained. But that's just my guess, somebody try it out, you can always restore the file. EDIT: Oh wait, but if it's an entity then it's probably not that way
It's called from hooks. Removing the entity leaves no errors behind and has the exact effect you want.
Tested, deleting the entity works fine.
bumping 5 year old post because google. delete the module from gamemodes/darkrp/gamemode/modules. this will cleanly remove it.
Sorry, you need to Log In to post a reply to this thread.