[NATIVE] Getting Player's Total Playtime

As you guys know fivem recently introduced the new comment system for the servers and it shows the total play-time of that player in that server so I believe we must be able to access to that player’s playtime too as the server owners.

Example Picture:

If we can have a native smth like:
GetPlayTime(fivemIdentifier)
RETURNS: Total play-time in seconds? INT

That would be sick and useful.

Its a cool idea, and no doubt would save a (probably negligible) amount of time spent scripting, but its pretty easy to write a server or client side script to count play time.

Of course it is but its not necessary since its already being saved by fivem

Hey, checkout this line and you can easily get the playtime:

https://lambda.fivem.net/api/ticket/playtimes/vm688e?identifiers[]=fivem:5415683
You can also request multiple playtimes with only one request.

Have a nice day :wave:

1 Like

This is a great workaround but still, imagine having it with a native that would be better right?

1 Like