Fixed missing mLogs files
Fixed issue with computer accounts upon first join
NOTE THIS IS BETA - THERE MIGHT BE BUGS
You will have to resetup all entities
tbfy_shared v2
- New language system
- Ingame config (for most configs)
- New entities spawn system
- FalkOS (Computer system)
Theory test is now done through the computer system included in tbfy_shared
Added DConfig support
Added missing strings to language files
Optimized driver license SWEP, now also has a backside
It will now ask the player if they wanna show their license or not when requested
Added support for mLogs
Updated support for bLogs
Updated Korean language (now fully translated)
Config changes:
Added .LicenseWithoutTheory - Allows to do practical test without theory
Added .LicenseCheckReqPermission - Does it require players consent before cops can see the license?
Replaced .OverviewW, .OverviewH, .QuestionW, .QuestionH with .TheoryW, .TheoryH
Fixed error with Perfect Radar System
Minior fixes
Config changes:
Added .DisplayPoints -> Displays license points on players driver license (only for the player himself)
Fixed Setup SWEP not displaying model for NPCs
You can now disable/enable checking license through vehicles You can now set the following restrictions on doing practical test: No restrictions, only if an instructor is online, only if an instructor isn't online NPC text now also supports background You can now modify NPCs Text color, font, background color and rotation speed Instructor Vehicle spawner now notify you, that you lack permission Issue with code not properly handling the theory results serversided fixed - should now work properly Updated french langauge (questions are not fully translated yet)
Config changes: Added .CheckLicenseThroughVehicle PracticalTestNoInstructors changed to: PracticalTestRestriction PracticalTestRestriction now uses 1,2 or 3 instead of true/false Removed SPAWNER_NPC_Text, SPAWNER_NPC_Model, PTEST_NPC_Text, PTEST_NPC_Model Added .NPCData -> used for modifying the NPCs data (Text, Model, Color, Font etc)
Redesigned UI for theory test - includes a much more cleaner menu with overview and supports pictures (both local and from internet) Theory tests questions are now randomized You can now setup multiply instructor vehicles Instructor vehicles can now be restricted to specific instructor licenses Redesigned UI for instructor vehicle spawnmenu Spawning a new instructor vehicle will remove the old one instead of restricting you to the one you spawned at first You can now use driver license checker on vehicles to check the current drivers license If caught while doing practical test by Perfect Radar system the test will now fail Updated German language (Thanks Cetlar Nighting https://steamcommunity.com/id/cetlarnighting) Minior bug fixes
Config changes: Replaced TheorymenuW and TheorymenuH config with OverviewW, QuestionW and OverviewH, QuestionH Added PracticalTestRadarDetection, PracticalTestRadarSpeedLimit Replaced NPC_VEHICLE_CLASS and NPC_VEHICLE_SKIN with a table config: InstructorVehicles
Fixed issue with instructors online even though no one is online
Function for adding/removing points now support amount and a reason/player PLAYER:DI_TogglePoints(LID(LicenseID), Add(true = add, false = remove), Amount(Amount to add/remove, ActorOrReason(Player or string)) Added support for ezJobs Added bLogs support
Hooks added: DI_ToggleInstructor DI_ToggleiLicense DI_ToggleLicense DI_LicenseToggled DI_ToggleTheory DI_TogglePoints
These are called after the functions has been ran, so you can't override them (added them for bLogs support)
Note: I've edited all languages to add so it now says X point instead of "a point" since I don't speak all the languages I might have messed up the translation. Please contact me if this is the case.
Addon is now dependent on: tbfy_shared addon This new addon includes a SWEP that is used to easily setup the addon and also uses shared code between my addons Simply spawn it from your sandbox menu and use R to open the selection menu All my addons will in the near future support and include this NOTE: Practical test is still setup with the toolgun
Recoded the whole networking to make it more efficient and more reliable Data should no longer be desynced between players Cleaned up point system code Instructor Vehicle spawn locations are now unique for each spawner NPC Removed consolecommand: save_ins_vspawn Removed entity: di_vehicle_spawnpoint Replaced PLAYER:DIAddLicensePoint() with PLAYER:DI_TogglePoints() Fixed spam printing from practical test (forgot to remove this)
Config changes: Restructured jobs configs (resetup these) Should improve performance -> no more table.HasValue
Configs added: Added vehicle skin config for practical test vehicles
Fixed granting license on theory completion config