Logo

CS.RIN.RU - Steam Underground Community

IRC: #cs.rin.ru at irc.rizon.net
It is currently Friday, 17 Apr 2015, 22:20

English | Русский




Post new topic Reply to topic  [ 36 posts ] 
Author Message

Post Post subject: Countdown timer   
Posted: Friday, 07 Jan 2005, 10:25   
I live here Три раза сломал клаву :)
Joined: Saturday, 16 Oct 2004, 17:45
Posts: 4360
I finally made it!!
Countdown timer is here!

http://s18.yousendit.com/d.aspx?id=0CRF ... 2ATAARAOCY
thx blunt+jarro

do those links work?

_________________
Image
Search
This account has been used by ColdFusion from August 26th to November 6th, 2006. All posts in that period belong to him and not to me!


Last edited by |2eM!x on Monday, 10 Jan 2005, 05:59, edited 8 times in total.

Top
 Profile  

Post Post subject:    
Posted: Friday, 07 Jan 2005, 16:27   
Super flooder Почетный графоман
Joined: Wednesday, 28 Apr 2004, 20:35
Posts: 935
Location: Australia
What you are doing here is trying to mix strings and integers. Text boxes are strings, numbers are integers. What it would be best to do would be to get a variable that is declared as an integer:

dim number as integer

and then say text1.text = number. Then you will need to put

if number <= 0 then
Timer1.Enabled = False
end if

To make a message box, there are two ways.

1. msgbox Message, buttonType, title, help file, context. You don't need to include all of them. Normally only the first one, sometimes the second. If you want just an ok button, then for button type put
vbokonly

2. If you want something to be returned then do this:
dim response as integer
response = msgbox(message, buttonType etc.)
then response will equal a number. The number will depend on what button is pressed. You can then use that to do something depending on which button was pressed. Read the help file for more.
But if you just want to say finished, you will probably just need the first one, and vbokonly.

_________________
Damn my ping sucks!
visit http://clik.to/csconfig - Home of AMX Configurer
Instructions for setting up servers, AMX Configurer v2.3.1, how to set up amx and the rest.
AMX Configurer forum at http://amxconfig.sourceforge.net/forum

Stop BLOODY DOUBLE POSTING!!!! :angry1:


Top
 Profile  

Post Post subject:    
Posted: Friday, 07 Jan 2005, 23:52   
Super flooder Почетный графоман
Joined: Monday, 25 Oct 2004, 08:03
Posts: 1177
Location: www.war3z.info
what is going on here...... 8) :D :?:

_________________
Image

--> http://mant3ra.deviantart.com <--


Top
 Profile  

Post Post subject:    
Posted: Saturday, 08 Jan 2005, 00:22   
I live here Три раза сломал клаву :)
Joined: Sunday, 27 Jun 2004, 11:55
Posts: 3280
Location: gwapo ko
rofl.. this is programming stuffs..

_________________
Image

http://rev-crew.info/index.php


Top
 Profile  

Post Post subject:    
Posted: Saturday, 08 Jan 2005, 01:29   
Super flooder Почетный графоман
Joined: Monday, 25 Oct 2004, 08:03
Posts: 1177
Location: www.war3z.info
i know that.....but for what.... :lol:

_________________
Image

--> http://mant3ra.deviantart.com <--


Top
 Profile  

Post Post subject:    
Posted: Saturday, 08 Jan 2005, 01:32   
Forum ghost Местное привидение
Joined: Wednesday, 28 Jan 2004, 05:16
Posts: 415
Location: RETIRED
ClarencE ™ wrote:
rofl.. this is programming stuffs..


that's not funny.......

_________________
Image


Top
 Profile  

Post Post subject:    
Posted: Saturday, 08 Jan 2005, 02:25   
I live here Три раза сломал клаву :)
Joined: Sunday, 27 Jun 2004, 11:55
Posts: 3280
Location: gwapo ko
C3RBERUS wrote:
ClarencE ™ wrote:
rofl.. this is programming stuffs..


that's not funny.......


DUH! he was asking!, and i thought he was just playing around..

«PuNk_©» wrote:
what is going on here...... 8) :D :?:


:P


Top
 Profile  

Post Post subject:    
Posted: Saturday, 08 Jan 2005, 09:43   
I live here Три раза сломал клаву :)
Joined: Saturday, 16 Oct 2004, 17:45
Posts: 4360
man jarro this is gettin too complicated for me...its still not working and still not stopping at zero..

ive tried your

Dim number As Integer
number = Text1.Text
If number <= 0 Then
Timer1.Enabled = False

but still keeps going after zero

i wonder how i got this to work in my old game?

edit" maybe im puttin it in the wrong spots?
ill dbcheck

_________________
Image
Search
This account has been used by ColdFusion from August 26th to November 6th, 2006. All posts in that period belong to him and not to me!


Top
 Profile  

Post Post subject:    
Posted: Saturday, 08 Jan 2005, 11:00   
Super flooder Почетный графоман
Joined: Wednesday, 28 Apr 2004, 20:35
Posts: 935
Location: Australia
what you need to do is everywhere you have the test for is it less than zero then stop, you need to use a variable for that, then just display what that variable is using the text box.

_________________
Damn my ping sucks!
visit http://clik.to/csconfig - Home of AMX Configurer
Instructions for setting up servers, AMX Configurer v2.3.1, how to set up amx and the rest.
AMX Configurer forum at http://amxconfig.sourceforge.net/forum

Stop BLOODY DOUBLE POSTING!!!! :angry1:


Top
 Profile  

Post Post subject:    
Posted: Saturday, 08 Jan 2005, 17:33   
I live here Три раза сломал клаву :)
Joined: Saturday, 16 Oct 2004, 17:45
Posts: 4360
ill try when im on my normal computer..

is anyone interested in this program thing?

thanks jarro for helping me!
really appreciate it

_________________
Image
Search
This account has been used by ColdFusion from August 26th to November 6th, 2006. All posts in that period belong to him and not to me!


Top
 Profile  

Post Post subject:    
Posted: Saturday, 08 Jan 2005, 18:38   
I live here Три раза сломал клаву :)
Joined: Sunday, 27 Jun 2004, 11:55
Posts: 3280
Location: gwapo ko
kewl.. let me test it ;)


Top
 Profile  

Post Post subject:    
Posted: Saturday, 08 Jan 2005, 20:50   
Super flooder Почетный графоман
Joined: Monday, 05 Apr 2004, 21:36
Posts: 908
You have to put cheat protection on that thing :wink: :P


Top
 Profile  

Post Post subject:    
Posted: Sunday, 09 Jan 2005, 04:51   
I live here Три раза сломал клаву :)
Joined: Saturday, 16 Oct 2004, 17:45
Posts: 4360
lmao!

_________________
Image
Search
This account has been used by ColdFusion from August 26th to November 6th, 2006. All posts in that period belong to him and not to me!


Top
 Profile  

Post Post subject:    
Posted: Sunday, 09 Jan 2005, 05:10   
I live here Три раза сломал клаву :)
Joined: Saturday, 16 Oct 2004, 17:45
Posts: 4360
FINALLY DONE!
http://s18.yousendit.com/d.aspx?id=0CRF ... 2ATAARAOCY
edit**

okay nvm i got everything to work on my own, arent you guys proud?
thanks for the help!

edit#2
how do i add a userdefined string?
like so they can input there own time? or there own saying?

_________________
Image
Search
This account has been used by ColdFusion from August 26th to November 6th, 2006. All posts in that period belong to him and not to me!


Last edited by |2eM!x on Monday, 10 Jan 2005, 06:00, edited 8 times in total.

Top
 Profile  

Post Post subject:    
Posted: Sunday, 09 Jan 2005, 05:45   
I live here Три раза сломал клаву :)
Joined: Saturday, 16 Oct 2004, 17:45
Posts: 4360
triple post sorry but wahtever...

ITS DONE!<i wanted people to look, lol sry clar>

_________________
Image
Search
This account has been used by ColdFusion from August 26th to November 6th, 2006. All posts in that period belong to him and not to me!


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 4 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum




Powered by phpBB® Forum Software © phpBB Group