Repository navigation
DISCLAIMER
-
If you use this version of PF-vMenu, make sure you
setr vmenu_individual_server_idin yourpermission.cfgfile, or vMenu will fail to start. This value can be any ASCII string without spaces (i.e., the name of the server, a random string of letters and numbers, etc.). -
Make sure you also update
vmenu_menu_toggle_keyandvmenu_noclip_toggle_keyif you're an existing vMenu or PF-vMenu user. These have been changed to use Keyboard Controls
New features
General
- Unified menu titles, now using the server name. Configure via
setr vmenu_server_name. If not specified, defaults to the player name. - Revamped, extended and reorganized many menus. Just look around and see what's changed ;) .
Exports
- Added exports to allow client-side scripts to programmatically disable/enable vMenu. Call via (LUA)
exports.vMenu:enable()andexports.vMenu:disable(). - Added exports to allow client-side scripts to programmatically disable/enable vMenu time and weather control. Call via (LUA)
exports.vMenu:enable_time_weather_controlandexports.vMenu:disable_time_weather_control. - Added export to check whether any vMenu is opened. Call via (LUA)
exports.vMenu:is_any_menu_open().
New functions
- Added
vmenu_disallowed_player_modelsconvar to disable certain ped models - You can also control the spawn behavior with the
vmenu_disable_spawn_as_allowed_pedandvmenu_spawn_as_deterministic_allowed_pedconvars - You can now search vehicles in the Vehicle Spawner by (model) name
- You can now create custom vehicle classes for the Vehicle Spawner. Take a look at
config/vehicle-classes.json. - You can now spawn destructible, NPC-like vehicles
- Server time control can now also control the time speed.
- Server dynamic weather can now be customized through custom weather cycles. Take a look at
config/weathercycles.json. - Also take a look at the
Time & weather optionsconvars for some more settings. - Added an option to copy your current location to the clipboard in the Miscellaneous menu
- Added
vmenu_disable_radar_controlconvar to disable vMenu radar control, when you have a custom script that is controlling it already - Added a functionality for copying Developer Tools entity information to the clipboard
- Coordinate display for entities in the Developer Tools
Changed functions
- Removed temporary teleport location, and instead allow overriding the previous teleport location with the current position.
config/addons.json: All vehicles available (unless explicitly disabled, see below) will now be displayed in the menus.vehiclesis now optional and only used to color addon vehicles in the menus.config/addons.json:vehicleblacklistnow contains cars that should only be spawnable by mods/admins, but that will appear in the normal vehicle menus.disablefromdefaultlistnow contains vehicles that should only be spawnable by mods/admins, and that should not appear in the normal vehicle menus.- Your Personal Vehicle now no longer shows up in the main menu.
Bugfixes
- Fixed a bug where the previous TP location was not updated when using the TP to temporary hotkey
- Fixed a bug where players could spawn disallowed ped models if they knew their model name
- The folder inside the
.zipis now correctly namedvMenuinstead ofPF-vMenu