[Release] Menu Interaction : Giving Cash, Presenting ID card, etc .. no command chat (And Menu Personel) [LVOS]

[LVOS] Menu-Interaction

Interacts with the person closest to the player: Giving money, presenting his identity card, and other functions

Menu Interaction

Required

  • EssentialMode 2.X (SQL Version)
  • MYSQL Async
  • Optional (according to your needs): Simple Banking (For Transfer, Giving Cash)
  • Optional (according to your needs) : ID Card (For ID Card)
  • Optional (according to your needs) : Job System (For menu interaction job)

Download :

My vision of things

This resource lets you open a door. You have to adapt it, or improve it as you see fit. The fact that I that it is not “more” complete is wanted. Many people already have their systems installed. In spite of this this resource will be adapted for the others that I would put online.

How to install

  • Download resources on github
  • Add it to the resources folder
  • Add ‘- menuint’ to AutoStartResources in citmp-server.yml
  • Adapt the script to your resources (Request(s), Delete Function(s)?)
  • Watch the events and use as you see fit
  • Its goooooooood

How to use

  • Press B for open menu, if you are close to a player the menu will open, otherwise a notification will be displayed. If more than one person is within the defined perimeter, the nearest one will be used.
  • Controls : Arrows = Up, Down, Right, Left for navigate, Entrer for validate and Backspace for back

Menu Interaction features

  • All of the following actions allow you to do an action to the nearest player within a given perimeter
  • Giving cash / dirty cash
  • Transfer bank
  • Present your ID Card
  • Police Menu : Put a fine, Inspect the player

I could continue to make a more complete interaction menu but it’s up to you to do it because each server is different I give you the tools to do it :slight_smile:

The texts are in French but I have put comments in English and French. This is fairly simple French.

I would also like to point out that I would not help people who do not have a minimum of knowledge. Not because I do not feel like it, but because I do not have the time right now. So I can not be there to help everyone, I rely on the community to help each other :slight_smile: Just a Prevention

What is LVOS?

This is the diminutive of Los Vanilla Open Source, it is simply the category where I would share the codes of the server Los Vanilla, my server. I will share server codes. Just a kind of signature :slight_smile:

[LVOS] menu-user

Utility menu, allowing to make animations, to see his card or to be re-dressed.

Menu User

I also made a personal menu, allowing to see his ID card or even make animations

Download :

11 Likes

Hey !
Thanks for sharing ! I guess the card-Id will be helpful for someone here.

2 Likes

You know what would be great this this? a thread that checks if player is near another player and then pop up a small text somwhere that says “Press “Key” to interact with player”

1 Like

This is not my purpose, sry

1 Like

Hi I was just checking your script (thanks for the release btw)
But I guess the

TriggerServerEvent("bank:donnerargentsale", joueur_proche, tonumber(result4))

event bank:donnerargentsale is a modified event in your banking script or essential idk where you modified it. I think you should share it/add it in your script (serverside).

2 Likes

pic1: https://gyazo.com/5eb76cebb3af26d725f24efc382da7ad
pic2: https://gyazo.com/a425c6902eff757b706b52482d96d8c5

No clue why this error is happening. Error is in pic 1, pic 2 is the sever.lua

The problem come from : require “resources/essentialmode/lib/MySQL”
Your folder essentialmode it’s not the same way

I’m sorry, I’m still confused… Is that in my CouchDB or? Cause I don’t see a lib folder within resources> essentialmode.

I guess this release uses EssentialMode v2 ( with MySQL) not Essential v3. You shoud adapt to CouchDB or not use his Job System

Umm let me send screen shots I have CouchDB set up but I didn’t know if I needed MySQL too, so I just set it up anyways.
https://gyazo.com/d6c1b20313cde17f0b92b7ff74068b28
https://gyazo.com/353edab0fe684414ffafd90f7c1c0206

I actually get this same error more than once on different resources all based on Can not call nil value.
https://gyazo.com/78abef997ddaa44580acb0c3f3f4a857
https://gyazo.com/78abef997ddaa44580acb0
https://gyazo.com/f2a1084a1f2e5e7cc63a044c65cfc648
https://gyazo.com/7d7caf65005c220942b02327c25d77ff

Where is essential ? in ressource ? another folder ?

resource in my server files.

haha !

Right, thanks for sharing PAnda :slight_smile:

1 Like

resource in my server files.
Don’t give up…

I hate you for being French

Thanks for this complement release Panda :slight_smile:

How can we just display our own Id Card ? Tried for 3H to display it for me, unsuccess :confused: Want to see it on my screen without giving it to an other player :slight_smile:

Thnaks for your help :slight_smile: Keep the good work :slight_smile:

1 Like

How to use police menu?

@DirtNasty RIP

@Scapin For me, it works. With the personal menu with the key H we see this card ID, then we can give it to someone with the B key it appears well for 10 seconds :slight_smile:

@Game_loker The Police menu requires that the user is the police job, for me it is the id 2 in the job system. Explain in the comments.

2 Likes

Update MYSQL Async, use https://github.com/brouznouf/fivem-mysql-async please :slight_smile:

1 Like