Raised This Month: $ Target: $400
 0% 

timelimit in seconds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Iulyy
Junior Member
Join Date: Sep 2007
Location: Romania
Old 01-16-2011 , 17:44   timelimit in seconds
Reply With Quote #1

Is there any function that extract timelimit in seconds? I tryd this but i don't know why can't compile.
Code:
new timelimit = get_cvar_float("mp_timelimit")
new timelimitS[3], timelimitM[8]
split(timelimit, timelimitS, 2, timelimitM, 7, ':')
__________________
loading...
Iulyy is offline
Send a message via Yahoo to Iulyy
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-16-2011 , 18:36   Re: timelimit in seconds
Reply With Quote #2

You mean amx_timeleft ?
__________________
Arkshine is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-16-2011 , 18:47   Re: timelimit in seconds
Reply With Quote #3

The timelimit is just a number of minutes.
__________________
fysiks is offline
Iulyy
Junior Member
Join Date: Sep 2007
Location: Romania
Old 01-16-2011 , 18:48   Re: timelimit in seconds
Reply With Quote #4

Sorry, my bad, i don't know where my mind was
__________________
loading...
Iulyy is offline
Send a message via Yahoo to Iulyy
Reply



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 02:13.


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