AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Advanced Current Time (https://forums.alliedmods.net/showthread.php?t=179784)

zekStein 03-05-2012 13:56

Advanced Current Time
 
1 Attachment(s)
* Advanced Current Time 1.0.2

by zekStein++



[~] This is a very simple plugin.
[~] For a number of seconds, it shows the Current Time instead the Round Time.

[~] The command is the default 'thetime' because this is adding an effect to it.

[~] The cvar for the number of seconds is "thetime_showtime".


[~] V1.0.2: Made some optimization.

tuty 03-05-2012 15:49

Re: Advanced Current Time
 
for one client use MSG_ONE_UNRELIABLE
and add a better decription

ConnorMcLeod 03-05-2012 15:59

Re: Advanced Current Time
 
I think you could use time native so you wouldn't have to convert strings into integers : http://www.amxmodx.org/funcwiki.php?go=func&id=604

You should store roundtime at new round event (HLTV)

And this is wrong IMO :
new Float:fRemainingTime = fCurrentRoundTime * 60 - get_gametime( );

get_gametime should be replace with get_gametime - the gametime when round is starting (there is a logevent for this).

zekStein 03-06-2012 12:47

Re: Advanced Current Time
 
Quote:

Originally Posted by tuty (Post 1663334)
for one client use MSG_ONE_UNRELIABLE

Added.

Quote:

Originally Posted by ConnorMcLeod (Post 1663348)
I think you could use time native so you wouldn't have to convert strings into integers : http://www.amxmodx.org/funcwiki.php?go=func&id=604

You should store roundtime at new round event (HLTV)

And this is wrong IMO :
new Float:fRemainingTime = fCurrentRoundTime * 60 - get_gametime( );

get_gametime should be replace with get_gametime - the gametime when round is starting (there is a logevent for this).

I used the time function and about the other ... didn't understand very well what you said but i made something.

Gam3ronE 03-29-2012 18:52

Re: Advanced Current Time
 
This is cool. Good job! :)

kiki33hun 04-03-2012 13:10

Re: Advanced Current Time
 
Good job

naSTR 04-21-2012 07:43

Re: Advanced Current Time
 
can be show timeleft of the map?

swarmachine 06-19-2016 18:31

Re: Advanced Current Time
 
yes you need search in this forum for plugin

HamletEagle 04-08-2020 06:47

Re: Advanced Current Time
 
https://forums.alliedmods.net/showthread.php?t=172840 this one seems to be more complete.
Unapproved for now, but you can PM me and explain why your plugin is better.


All times are GMT -4. The time now is 20:48.

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