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 actions.lua #1311

Merged
merged 2 commits into from
May 18, 2024
Merged

Update actions.lua #1311

merged 2 commits into from
May 18, 2024

Conversation

Marlox4
Copy link
Contributor

@Marlox4 Marlox4 commented Feb 12, 2024

Add ESX.PlayerData.seat and ESX.PlayerData.vehicle

Add ESX.PlayerData.seat and ESX.PlayerData.vehicle
@Gellipapa Gellipapa changed the base branch from main to dev February 19, 2024 20:00
@Gellipapa
Copy link
Contributor

Hi! @Marlox4

This can be useful, but avoid duplication of code. Could you write a wrapper method that you call in two places with two values and if parameter nil then false so you handle two states in one method.

Can you do this?

@Gellipapa
Copy link
Contributor

@Marlox4 Hi! I fixed and refactored your solution, thanks for this feature, merged.

@Gellipapa Gellipapa merged commit ba902e7 into esx-framework:dev May 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants