I really need help with this

I’m going to make this fast and simple, I need help setting up a use key like E and being able to setup areas to use it, I cant for the life of me been able to make this happen. Any help would be grateful

Thanks

Distance check location between ped and coord.

If x distance then

If control pressed then

Blah blah blah.
You got it from there.

Post what you’ve already tried.

and where abouts can i find the file to edit to make this happen, Thanks Twittchter

Bro, I cant see what scripts you have or know what file to use because there wasnt enough info in the op.

Your looking at possible a client side script, because typically most people made these checks on the client.

An example can be found here that I’ve done/recycled;

But it requires functions from another script on that git.

yeah this is for a fivem server and here is a list of filesscripts

Try looking for a developer or someone who knows where on your, I assume qb framework core bus whatever, that can help.

Good luck.