[Free] Playtime Counter [ESX/QB]

[Preview]

Preview Link

[Explanation]

Simple script that will count players play time on server via os.time function. Script is for esx/qb and it will automatically determine which one you use, also sql file will be automatically installed.

[Installation]

Drag and drop.

[Commands]

  • /mytime - to show your play time on server
  • /timelist - show leaderboard of all players sorted by highest to lowest

[Dependencies]

:package: PAID RESOURCES

e

Download (FREE)

Get this resource at GitHub

4 Likes

Is it all-time playtime or just current session?

All-time.

This resource looks great, thank you for making this!

1 Like

You could have a look into the GetResourceKvp native function. This gives you the opportunity to store and fetch data without a database.

3 Likes