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

[Feature Request] - esx_core - Better setcoords command #1143

Closed
tekkenkkk opened this issue Aug 3, 2023 · 2 comments
Closed

[Feature Request] - esx_core - Better setcoords command #1143

tekkenkkk opened this issue Aug 3, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tekkenkkk
Copy link
Contributor

Describe the Feature
Accept more values and correct them, for example I like to copy-paste my coordinates from scripts and it looks like this

/setcoords 123.0, 321.0, 123.0

so there are commas after the coordinates, it's easy to remove them and it would help me and other users.

Additional context
example of comma removal (using rn)

for k,v in pairs(args) do
    local formatted = string.gsub(v, ",", "")
    args[k] = tonumber(formatted)
end
@tekkenkkk tekkenkkk added the enhancement New feature or request label Aug 3, 2023
@Gellipapa
Copy link
Member

Gellipapa commented Aug 3, 2023

@tekkenkkk Hi! Thank you for feature request.
Is there a case where you should not delete the comma again?
Besides this, we should extend the setcoords, command with tp to have a shorter setcoords. We will think about it. Thanks.

@Gellipapa
Copy link
Member

#1154 Implement this request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants