Hi I want to set players groups.. they will be added to some group according how many hours they spend at server.So for example 10hours= beginner 100hours= maniac.And name of group will be showed at scoreboard behing name.Do you know how?
You need to add a new column ( easy with the new scoreboard ), and log how much time each player spends in the server. You can save the data via flatfile, SQLite, MySQL, or how-ever.
You'll need to network the data if others are supposed to see the ranks ( network it once, and then just add CurTime( ) - jointime to their current time to see if they advance.
If you're new, here are some useful links:
General Learning Lua Help Thread: [url]http://facepunch.com/showthread.php?t=1337945[/url]
Problems that don't need their own thread ( All simple questions / quickies should go here ): [url]http://facepunch.com/showthread.php?t=1348923[/url]
DarkRP Help Thread ( [b]ALL[/b] DarkRP Questions go here ): [url]http://facepunch.com/showthread.php?t=1249475[/url]
Looking to [b]HIRE[/b] a coder? Read this: [url]http://facepunch.com/showthread.php?t=1257110[/url]
Coderhire Thread: [url]http://facepunch.com/showthread.php?t=1281665[/url]
If you want to hire someone to make it for you; check out Coderhire or feel free to add me to Steam.
[QUOTE=Acecool;44999576]You need to add a new column ( easy with the new scoreboard ), and log how much time each player spends in the server. You can save the data via flatfile, SQLite, MySQL, or how-ever.
You'll need to network the data if others are supposed to see the ranks ( network it once, and then just add CurTime( ) - jointime to their current time to see if they advance.
If you're new, here are some useful links:
General Learning Lua Help Thread: [url]http://facepunch.com/showthread.php?t=1337945[/url]
Problems that don't need their own thread ( All simple questions / quickies should go here ): [url]http://facepunch.com/showthread.php?t=1348923[/url]
DarkRP Help Thread ( [b]ALL[/b] DarkRP Questions go here ): [url]http://facepunch.com/showthread.php?t=1249475[/url]
Looking to [b]HIRE[/b] a coder? Read this: [url]http://facepunch.com/showthread.php?t=1257110[/url]
Coderhire Thread: [url]http://facepunch.com/showthread.php?t=1281665[/url]
If you want to hire someone to make it for you; check out Coderhire or feel free to add me to Steam.[/QUOTE]
thx.. but I need more help.. add new column where.. Iam beginner
I think this is the guy that added the feature: [url]http://facepunch.com/showthread.php?t=1356376[/url]
Here are some links:
[url]http://www.facepunch.com/showthread.php?t=1395277[/url]
[url]http://www.zombiemaster.org/smf/index.php?topic=13317.0[/url]
Basically its just a hook.Add TTTScoreboardColumns to add new columns and data.
Sorry, you need to Log In to post a reply to this thread.