?any one know to do that
What gamemode would this be for? What are you trying to do exactly? Ensure the client has played X minutes in total or the current session before being able to become a certain job / class?
If it is the current session and if the game-mode is DarkRP, then you’d use the customCheck( _p ) function to return _p:TimeConnected( ) > 25 * 60; – to make sure the client has played 25 minutes in the current session before being allowed to join the team.
If that isn’t what you’re looking for, please explain exactly what you’re trying to do.
Here are some resources to help you get started:
Generalized Lua Help ( Links to Wikis, Answers the question of “Where do I post a simple question or DarkRP Specific question”, links to other resources compiled by forum members )
Useful Programs ( SteamCMD, Autosizer, Desktops, Process Explorer ) and Notepad++ Upgrades