Skip to content

Conversation

@Mxnsterr
Copy link
Contributor

This is strange behavior since I expected true to mean "on" and false to mean "off," but it’s the other way around. I added a description for clarity and included screenshots below with a print log.

State true:
image

State false:
image

Snippet I created to test it quickly:

print('Spawning object')

local object = CreateObject(prop, coords.xyz, false, true, false)
print('Object spawned')

Wait(5000)

print('Setting lights on true')
SetEntityLights(object, true)

Wait(1000)

print('Setting lights on false')
SetEntityLights(object, false)

@technetium-cfx technetium-cfx merged commit f121d0b into citizenfx:master Oct 23, 2025
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants