Giter Site home page Giter Site logo

Comments (8)

kibook avatar kibook commented on August 17, 2024

It's probably an issue with the IsInProximity function in client.lua.

b5fc18c adds a check whether GetPlayerFromServerId returns -1, which it apparently does if a player is out of range when using OneSync. That was being passed to GetPlayerPed, which happens to treat -1 as a shorthand for your own player ID, so if the player who sent a message was not in range it was determining proximity by comparing the distance from your own ped to... your own ped.

Let me know if that fixes it for you!

from poodlechat.

MrBluffz avatar MrBluffz commented on August 17, 2024

That actually appears to be working perfectly. I appreciate it!

from poodlechat.

MrBluffz avatar MrBluffz commented on August 17, 2024

Do you have any plans to add more functionality? Or are you satisified with it the way it is? Are you open to suggestions?

from poodlechat.

kibook avatar kibook commented on August 17, 2024

I don't have any specific plans right now, but I will definitely be adding stuff as time goes on, and I am open to suggestions!

from poodlechat.

MrBluffz avatar MrBluffz commented on August 17, 2024

I run an RP server using ESX, so most of my suggestions will be FiveM/ESX specific. I am going to suggest most of the standard RP type things.

  1. Ability to set characters name. Or a config option that is true/false to use in game characters name, instead of whatever your log in name is.
  2. a /twt command with a blue border, or twitter emoji before the players name so it's clearly a tweet. Also a command in game /twthandle inserthandlehere so people can use the chat to tweet out, and have custom usernames.

Those are my suggestions for now!

from poodlechat.

kibook avatar kibook commented on August 17, 2024

Thanks for the suggestions! I primarily run a freeroam server on RedM so RP hasn't been the main focus of this chat, although there are some things that help with RP (like proximity chat and /me actions) and I'm open to adding more things for RP.

  1. There's some work done on this already, but for the VORP framework on RedM. You can modify the GetName function to retrieve a character name rather than using the player's FiveM name. If you have an example of retrieving a character name in ESX, I can try and add "ESX" as an option for the ServerConfig.Framework setting. Otherwise I'll try and look for one when I have some time.
  2. I would like to try and make this more general or configurable, since some people use "Twitter" while others use the in-universe "Bleeter", and for RedM it would be something entirely different. Maybe just a generic "announcement" by default with the ability for server owners to label it however they like.

from poodlechat.

MrBluffz avatar MrBluffz commented on August 17, 2024

There is another chat mod that the owner stopped supporting, that had all of these options available, but did not support OneSync at all. It's available on Github. Would you like me to link it to you here?

from poodlechat.

MrBluffz avatar MrBluffz commented on August 17, 2024

Where is the best place to edit the location of the chat? I'd like to move it if possible.

from poodlechat.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.