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

Add HeadlightColor network variable #45

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

StyledStrike
Copy link
Owner

  • Colors passed through ENT.Headlights and ENT.LightSprites are ignored now
  • Gives access to vehicle:SetHeadlightColor( Vector ) and vehicle:GetHeadlightColor()
  • The color's RGB values are in the 0.0-1.0 range, not on the 0-255 range

That last point is due to a limitation from the entity editor.

@StyledStrike StyledStrike added the enhancement New feature or request label Jan 6, 2025
@StyledStrike StyledStrike merged commit 2a066b3 into main Jan 6, 2025
1 check passed
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
None yet
Development

Successfully merging this pull request may close these issues.

1 participant