Played Time
• Description:
This plugin will save players played time using nVault or MySQL. Player can see his played time using a chat commands. Also you can get player played time using a native. Saving will be based on player SteamID, This add-on doesn't use method set_task .
• Screenshots:
• Commands:
/played
or /online
to display played time in chat.
• Native:
ze_get_user_time(id)
- Will return player time played in seconds or will return -1 if player id is invalid.
• Translation Key:
Code: Select all
MSG_PLAYED_TIME = "Played Time: !g%d!yd !g%02d!t:!g%02d!t:!g%02d"
• Console Variables:
Code: Select all
ze_playedtime_savetype 0 // Played time save type (0 = nVault | 1 = MySQL).
• About MySQL:
If you want to save data in MySQL, the add-on uses MySQL information from sql.cfg
and if the database with the name in amx_sql_db
already exists, it will The add-on automatically creates the Table if it does not exist!
So make sure the database already exists.
• Downloads