standalone timer?
Hi everybody :)
Just wondering if anyone has a standalone amxx Timer which works through walls. There's no need for top15's and stuff like that.. Just push the button "Timer started" --> push endbutton "eMti finished in xx:xx!"
the only thing that could be nice if there was a amx msg that shows me the time. (should be over the hud round timer).
thanks alot in advance
oh really so many? :D
havent tried but it should work
http://preniumz.ampaste.net/137631
well when i pressed the start button once I got:
[AmxModX] Timer started 5 times ..
when i finished map 20064166:-37 but i did it in ~20 secs
and i get:
L 02/24/2008 - 12:45:50: [AMXX] Run time error 4 (plugin "timer.amxx") - debug not enabled!
L 02/24/2008 - 12:45:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/24/2008 - 12:45:50: [AMXX] Run time error 4 (plugin "timer.amxx") - debug not enabled!
L 02/24/2008 - 12:45:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/24/2008 - 12:45:50: [AMXX] Run time error 4 (plugin "timer.amxx") - debug not enabled!
L 02/24/2008 - 12:45:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/24/2008 - 12:45:50: [AMXX] Run time error 4 (plugin "timer.amxx") - debug not e
with debug:
L 02/24/2008 - 12:46:55: [AMXX] Displaying debug trace (plugin "timer.amxx")
L 02/24/2008 - 12:46:55: [AMXX] Run time error 4: index out of bounds
L 02/24/2008 - 12:46:55: [AMXX] [0] timer.sma::tskHudMsg (line 96)
L 02/24/2008 - 12:46:55: [AMXX] Displaying debug trace (plugin "timer.amxx")
L 02/24/2008 - 12:46:55: [AMXX] Run time error 4: index out of bounds
L 02/24/2008 - 12:46:55: [AMXX] [0] timer.sma::tskHudMsg (line 96)
L 02/24/2008 - 12:46:55: [AMXX] Displaying debug trace (plugin "timer.amxx")
L 02/24/2008 - 12:46:55: [AMXX] Run time error 4: index out of bounds
L 02/24/2008 - 12:46:55: [AMXX] [0] timer.sma::tskHudMsg (line 96)
L 02/24/2008 - 12:46:55: [AMXX] Displaying debug trace (plugin "timer.amxx")
L 02/24/2008 - 12:46:55: [AMXX] Run time error 4: index out of bounds
L 02/24/2008 - 12:46:55: [AMXX] [0] timer.sma::tskHudM
but when i finished map in 35 secs, then in 20 it showed me u finished map with 15 secs faster
Oo lol sry I did it really fast. I'm gonna try and I'll release a good version
edit: there was a lot of noob error lol sorry now it should work
http://preniumz.ampaste.net/137891
http://fatalis.ampaste.net/138011
thanks a lot guys, havent tested until now, since i'm at work, but i will do it when im back home in about 5 hours :O
do they work through walls?
fatalis should i think (never used the hamsandwich module so i cant say it for sure)
Originally posted by eMTithanks a lot guys, havent tested until now, since i'm at work, but i will do it when im back home in about 5 hours :O
do they work through walls?
I have only tested PrEn1uMz but it doesn't work trought walls (tested on kz_dbh_pipehop)
Originally posted by PrEn1uMzOo lol sry I did it really fast. I'm gonna try and I'll release a good version
edit: there was a lot of noob error lol sorry now it should work
http://preniumz.ampaste.net/137891
cant compile it :D it says:
undefinded symbol "get_pcvar_num" - line 38
invalid expression, assumed zero - line 98
undefinded symbol "tskHudMsg" - line 98
local variable "id" shadows a variable at a preceding level - line 100
:o
http://www.amxmodx.org/webcompiler.cgi?go=dl&id=280010
This file does not exist or has expired past its time limit.
358496 successful compiles to date.
205626 failed compiles to date.
Old compiler: 101980 compiles before decommission.
This tool by: David "BAILOPAN" Anderson.
© Copyright 2003-2008 by the AMX Mod X Dev Team
:SSSSSSSSSSSSSSSSSSSSSSSSSSSS
i feel so lucky... not
well go to the webcompiler and paste the code then press 'Compile' or w/e is the name of the button ..
Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
/home/groups/amxmodx/tmp3/textbvhOIq.sma(73) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/textbvhOIq.sma(80) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/textbvhOIq.sma(98) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/textbvhOIq.sma(98) : error 029: invalid expression, assumed zero
/home/groups/amxmodx/tmp3/textbvhOIq.sma(98) : error 017: undefined symbol "tskHudMsg"
/home/groups/amxmodx/tmp3/textbvhOIq.sma(120) : error 001: expected token: "}", but found "-end of file-"
3 Errors.
Could not locate output file /home/groups/amxmodx/public_html/websc3/textbvhOIq.amx (compile failed).
;DDDDD
its ur error cuz i can compile it w/o any errors there.. go to the ampaste.net website + link type 'edit' and grab the code to the amxmodx.org's compiler...
lol thx it worked =) anyway it could be of my amxx version im using 1.76d or "c" dunno ... :P thx again :D
http://preniumz.ampaste.net/142776
- ProKreedz 1.0 mini
http://caffeine.ampaste.net/143370
why not only use the set_task(1.0,...)?
it works fine!
nice! thx caffeine!
but can you please modify it so that you can reset the timer? or that it resets by pressing the start button?
maniac, http://caffeine.ampaste.net/144348
just remove && !timer_started[id] @ 55.
// Edit
Download: http://two.xthost.info/caffeine/timer20081023.rar http://two.xthost.info/caffeine/timer20081025.rar
Please log in to post replies.