Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TMHSDigital/CFX-Developer-Tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.9.2
Choose a base ref
...
head repository: TMHSDigital/CFX-Developer-Tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.0
Choose a head ref
  • 2 commits
  • 30 files changed
  • 3 contributors

Commits on Jun 17, 2026

  1. feat: add four example resources and harden drug-sell

    New complete, runnable reference resources under examples/:
    - doorlock: replicated GlobalState lock state + change handlers (state-bags)
    - playtime-tracker: oxmysql parameterised queries + migration (database)
    - speedometer-hud: rate-limited vanilla NUI HUD (nui + performance)
    - secure-shop: server-authoritative purchase flow (patterns + security)
    
    Harden drug-sell:
    - enforce the sale cooldown server-side (client cooldown is bypassable)
    - server picks the drug the player actually holds (was a random pick that
      failed most sales) and rolls the outcome authoritatively
    - replace the per-frame key poll with RegisterKeyMapping (0.00ms idle)
    - dispatch the police alert from the server with server-read coords
    - clean per-player cooldown tables on playerDropped
    
    Add examples/README.md index and register examples/ in the architecture tree.
    
    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
    TMHSDigital and claude committed Jun 17, 2026
    Configuration menu
    Copy the full SHA
    207302d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fe4623 View commit details
    Browse the repository at this point in the history
Loading