-
-
Notifications
You must be signed in to change notification settings - Fork 502
Add new function resetWorldProperties #3692
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 new function resetWorldProperties #3692
Conversation
|
The function name should be |
Yeah, you're right |
|
Please resolve conflicts |
Done |
tederis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #3650
Syntax
Client
Server
resetSpecialProperties - Restores all special world properties changed by
setWorldSpecialPropertyEnabledto defaultresetWorldProperties - Reset all world properties changed by
setWorldPropertyresetWeatherProperties - Reset all weather properties like heat haze, rain level, sun color etc
resetLODs - Reset vehicles and peds lod distance
resetSounds - Restore interior sounds, world sounds and ambient sounds
resetGlitches - Disable all glitches enabled by
setGlitchEnabledresetJetpackWeapons - Reset jetpack weapons changes by
setJetpackWeaponEnabledto default (uzi, pistol, tec9)Regardless of the value of the arguments, the following properties are reset: