This doesn't use any Cvars, if its installed its enabled.
- Every 5 minutes points go up by 1
- To edit the amount of times to increase a point edit this line:
- If you change that I also suggest you change the message that appears every ten minutes:
And... Code: PrintToChat(client, "x03You've been on for x06tenx03 minutes and earned x06%dx03 more points!", 2);
- Users can type !points or sm_points in console to view the amount of points they have.
This plugin also comes with an announcement to, well, announce when someone joins the server and how many times they've joined before.
- This Plugin creates a file when loaded in "cstrike/addons/sourcemod/data/stats/playerinfo.txt" where all the points and connect times are saved.
Attached Files TimePoints.smx (4.0 KB) Get Plugin or Get Source (TimeRanks.sp - 2.6 KB)
Wyświetl pełny artykuł