Raised This Month: $12 Target: $400
 3% 

Duration of a person in the server.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Stressful
Senior Member
Join Date: Feb 2011
Old 06-08-2011 , 02:26   Duration of a person in the server.
Reply With Quote #1

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

Last edited by Stressful; 07-11-2011 at 06:44.
Stressful is offline
R1cko
New Member
Join Date: Feb 2010
Location: Romania
Old 06-08-2011 , 12:18   Re: |*REQ*| How Long Have The Person Been In The Server.
Reply With Quote #2

Time played it's not ok ? Show the time played on server by [b]/time[b]
Download: <removed>
__________________


Addons War3FT Edition - Click to see.

Last edited by Exolent[jNr]; 06-08-2011 at 12:55. Reason: Removed .amxx file
R1cko is offline
Send a message via Yahoo to R1cko
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-08-2011 , 12:56   Re: |*REQ*| How Long Have The Person Been In The Server.
Reply With Quote #3

You are not allowed to post .amxx files.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Stressful
Senior Member
Join Date: Feb 2011
Old 06-09-2011 , 06:35   Re: |*REQ*| How Long Have The Person Been In The Server.
Reply With Quote #4

I need the plugin to be able to appear every 2minute with cvar . But thanks though
__________________
Stressful is offline
Stressful
Senior Member
Join Date: Feb 2011
Old 07-11-2011 , 06:44   Re: |*REQ*| How Long Have The Person Been In The Server.
Reply With Quote #5

bump
__________________
Stressful is offline
2reason2kill
Senior Member
Join Date: Feb 2011
Old 07-11-2011 , 07:06   Re: |*REQ*| How Long Have The Person Been In The Server.
Reply With Quote #6

Quote:
Originally Posted by Exolent[jNr] View Post
You are not allowed to post .amxx files.
Why Not?

I dont know How To Do it. xD
2reason2kill is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-11-2011 , 14:33   Re: |*REQ*| How Long Have The Person Been In The Server.
Reply With Quote #7

Quote:
Originally Posted by 2reason2kill View Post
Why Not?
It's a rule, read them.
__________________
fysiks is offline
Stressful
Senior Member
Join Date: Feb 2011
Old 07-12-2011 , 07:45   Re: Duration of a person in the server.
Reply With Quote #8

Lol. Anyone ?:O
__________________
Stressful is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-12-2011 , 15:50   Re: Duration of a person in the server.
Reply With Quote #9

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") }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 07-15-2011 at 01:19.
Exolent[jNr] is offline
Stressful
Senior Member
Join Date: Feb 2011
Old 07-13-2011 , 03:22   Re: Duration of a person in the server.
Reply With Quote #10

Doesn't Work
__________________
Stressful is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:37.


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