Stable1.5.5
UPDATE
- Various QoL and optimization updates to the code.
- Removed all uses of table.HasValue
- Removed
EnableDonatorBonusconfig and let it auto fall-back to 1 if not defined. - All the supported XP systems are now automatically detected. You will not have to manually enable them in the config anymore.
- If you set the XP to give amounts to 0 it will be as if you disable giving XP (in case you have XP systems, but don't want to use it).
- More reliable way of initializing the addon and buyer NPC.
- Remade structure of
TCF.Config.DonatorBonusestable for optimization purpose. - Cocaine box and cocaine packs ownership are now updated on gravgun/physgun pickup to allow players to steal those entities are sell to the NPC.
- Police jobs are now able to confiscate single cocaine packs just like they can confiscate cocaine boxes. By pressing E on the entity.
- Now using SafeRemoveEntityDelayed to remove entities.
- Replaced IsAdmin checks with IsSuperAdmin to spawn/remove cocaine buyer NPCs.
- Adjusted alignment of NPC display description.
- Outline on NPC 3d2d is now black.