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

engineSetModelVisibleTime returns false for custom ID's from engineRequestModel #3341

Closed
1 task done
FileEX opened this issue Mar 15, 2024 · 2 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@FileEX
Copy link
Contributor

FileEX commented Mar 15, 2024

Describe the bug

engineSetModelVisibleTime doesn't work for custom ids

Steps to reproduce

image

Version

Multi Theft Auto v1.6-release-22396

Additional context

No response

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@FileEX FileEX added the bug Something isn't working label Mar 15, 2024
@TheNormalnij
Copy link
Contributor

TheNormalnij commented Mar 15, 2024

Cannot reproduce

Executing client-side command: engineRequestModel("timed-object")
Command results: 74 [number]
[20:14:26] TheNormalnij executed client-side command: engineSetModelVisibleTime( 74, 12, 10 )
Executing client-side command: engineSetModelVisibleTime( 74, 12, 10 )
Command results: true [boolean]
[20:14:29] TheNormalnij executed client-side command: engineSetModelVisibleTime( 74, 10, 12 )
Executing client-side command: engineSetModelVisibleTime( 74, 10, 12 )
Command results: true [boolean]

@FileEX
Copy link
Contributor Author

FileEX commented Mar 15, 2024

Edit: I was probably blind and used "object" instead of "timed-object". However, I encountered a crash when trying to load collisions for this type of object. I know they don't have collisions, but it shouldn't end in a crash. I have already opened a new issue.

@FileEX FileEX closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants