This lightweight client-side script adds a simple /pt command that starts a configurable countdown timer (default 5 minutes) on the right side of the player’s screen. It's perfect for traffic-related scenarios like PIT cooldowns during pursuits or tactical pauses.
✅ Features:
-
/ptstarts a timer (default: 5 minutes) -
/endptcancels the active timer -
At the end of the countdown, the message "PIT is clear!" appears for 10 seconds
-
Fully configurable timer duration via
config.lua -
Clean on-screen display with optional future customization
⚙️ Configuration:
Edit config.lua to change the default timer:
Config.TimerDuration = 300 -- seconds
📦 Installation:
-
Place the script in your
resourcesfolder -
Ensure it's started in
server.cfg:
ensure pt_timer
Recommended Comments
Create an account or sign in to comment