Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sv_boss.lua, cl_boss.lua #116

Closed
wants to merge 6 commits into from

Conversation

nitayStain
Copy link

Describe Pull request
I followed a suggestion in the issues, I created a feature in which the employee menu, the boss will have the access to toggle the employee's duty, on or off.
I added a simple icon in the option itself and in the title of the menu, a notice for the boss to see if the player is even in duty or not.

#115

Questions (please complete the following information):

  • Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes/no] (Be honest)
  • Does your code fit the style guidelines? [yes/no]
  • Does your PR fit the contribution guidelines? [yes/no]

client/cl_boss.lua Outdated Show resolved Hide resolved
client/cl_boss.lua Outdated Show resolved Hide resolved
client/cl_boss.lua Outdated Show resolved Hide resolved
client/cl_boss.lua Outdated Show resolved Hide resolved
server/sv_boss.lua Show resolved Hide resolved
server/sv_boss.lua Outdated Show resolved Hide resolved
Copy link

@MatFirdaus33 MatFirdaus33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

icon = data.player.onduty and 'fa-solid fa-toggle-off' or 'fa-solid fa-toggle-on',

Copy link

This PR has had 60 days of inactivity & will close within 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants