AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Duration of a person in the server. (https://forums.alliedmods.net/showthread.php?t=158674)

Stressful 06-08-2011 02:26

Duration of a person in the server.
 
Description -
Show the time of how long the players have played in the server every 2minute (cvar) via client print chat.

R1cko 06-08-2011 12:18

Re: |*REQ*| How Long Have The Person Been In The Server.
 
Time played it's not ok ? Show the time played on server by [b]/time[b]
Download: <removed>

Exolent[jNr] 06-08-2011 12:56

Re: |*REQ*| How Long Have The Person Been In The Server.
 
You are not allowed to post .amxx files.

Stressful 06-09-2011 06:35

Re: |*REQ*| How Long Have The Person Been In The Server.
 
I need the plugin to be able to appear every 2minute with cvar . But thanks though :)

Stressful 07-11-2011 06:44

Re: |*REQ*| How Long Have The Person Been In The Server.
 
bump

2reason2kill 07-11-2011 07:06

Re: |*REQ*| How Long Have The Person Been In The Server.
 
Quote:

Originally Posted by Exolent[jNr] (Post 1483745)
You are not allowed to post .amxx files.

Why Not?

I dont know How To Do it. xD

fysiks 07-11-2011 14:33

Re: |*REQ*| How Long Have The Person Been In The Server.
 
Quote:

Originally Posted by 2reason2kill (Post 1508360)
Why Not?

It's a rule, read them.

Stressful 07-12-2011 07:45

Re: Duration of a person in the server.
 
Lol. Anyone ?:O

Exolent[jNr] 07-12-2011 15:50

Re: Duration of a person in the server.
 
Code:
#include <amxmodx> #include <time> new cvar_interval public plugin_init() {     register_plugin("Played Time Display", "0.0.1", "Exolent")         register_dictionary("time.txt")         cvar_interval = register_cvar("ptd_interval", "120.0")         set_task(get_pcvar_float(cvar_interval), "TaskShowTimes") } public TaskShowTimes() {     new players[32], pnum, length[32]     get_players(players, pnum, "ch")         for(new i = 0, id; i < pnum; i++)     {         id = players[i]                 get_time_length(id, get_user_time(id), timeunit_seconds, length, charsmax(length))                 client_print(id, print_chat, "You have played for %s", length)     }         set_task(get_pcvar_float(cvar_interval), "TaskShowTimes") }

Stressful 07-13-2011 03:22

Re: Duration of a person in the server.
 
Doesn't Work :(


All times are GMT -4. The time now is 10:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.