Core-Services
DiscordShop
  • 🏠HOME
  • ⚙️SCRIPTS
    • CS_MENU_DEFAULT
    • CS_VISA
    • CS_SHOPS
    • CS_GARAGE
    • CS_REVIVESTATION
    • CS_PANICBUTTON V2
    • CS_DEATHTIMEOUT V2
    • CS_VEHICLERENTAL
      • Installation
      • Configuration
        • config.lua
        • devConfig.lua
        • framework.lua
        • webhook.lua
      • Exports
Powered by GitBook
On this page
  • Start Timer.
  • Show Timer
  • Hide Timer

Was this helpful?

  1. SCRIPTS
  2. CS_VEHICLERENTAL

Exports

All exports are client sided.

Start Timer.

Starts a timer. Should only be used by experienced developers.

Export (client side)

exports["cs_vehiclerental"]:startTimer(10)

Event

TriggerEvent("cs_vehiclerental:startTimer") -- Client side
TriggerClientEvent("cs_vehiclerental:startTimer", playerId) -- Server side

Show Timer

Displays the Timer UI.

Export (client side)

exports["cs_vehiclerental"]:showTimer()

Hide Timer

Hides the Timer UI.

Export (client side)

exports["cs_vehiclerental"]:hideTimer()

Previouswebhook.lua

Last updated 6 days ago

Was this helpful?

⚙️