Skip to content
New issue

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

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

Already on GitHub? # to your account

Crash that shouldn't happen #269

Open
Crowdigger opened this issue Jan 19, 2025 · 5 comments
Open

Crash that shouldn't happen #269

Crowdigger opened this issue Jan 19, 2025 · 5 comments

Comments

@Crowdigger
Copy link

Image

I talked to Junior_DJJR, and he told me there is nothing wrong with the code, but even so, CLEO 5 identified it as an error in the code

Image

@x87
Copy link

x87 commented Jan 19, 2025

@Crowdigger Do you have scrlog with this error?

@x87
Copy link

x87 commented Jan 19, 2025

@Crowdigger it seems to me that you have an outdated version of CLEO5. Can you attach your CLEO\.cleo.log file here?

@MiranDMC
Copy link
Collaborator

Works for me in CLEO5

{$CLEO .cs}
debug_on

while true
    wait {time} 0
    
    if
        is_char_sitting_in_any_car $scplayer
    then
        int carHandle = store_car_char_is_in_no_save $scplayer
        
        if
            is_car_engine_on carHandle
        then
            trace "eninge is on"
        end    
    end
end

terminate_this_custom_script

@Crowdigger
Copy link
Author

@Crowdigger it seems to me that you have an outdated version of CLEO5. Can you attach your CLEO.cleo.log file here?

I'm using the latest version CLEO 5.0.0 Release Candidate 2 and unfortunately I don't have SCRLog

.cleo.log

@Crowdigger
Copy link
Author

The crash doesn't happen all the time, in fact it only happened once. So, no problem.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants