| CS.RIN.RU - Steam Underground Community http://cs.rin.ru/forum/ |
|
| Countdown timer http://cs.rin.ru/forum/viewtopic.php?f=14&t=9340 |
Page 1 of 3 |
| Author: | |2eM!x [ Friday, 07 Jan 2005, 10:25 ] |
| Post subject: | Countdown timer |
I finally made it!! Countdown timer is here! http://s18.yousendit.com/d.aspx?id=0CRF ... 2ATAARAOCY thx blunt+jarro do those links work? |
|
| Author: | jarro_2783 [ Friday, 07 Jan 2005, 16:27 ] |
| Post subject: | |
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. |
|
| Author: | :mAnt3Ra: [ Friday, 07 Jan 2005, 23:52 ] |
| Post subject: | |
what is going on here...... |
|
| Author: | ClarencE [ Saturday, 08 Jan 2005, 00:22 ] |
| Post subject: | |
rofl.. this is programming stuffs.. |
|
| Author: | :mAnt3Ra: [ Saturday, 08 Jan 2005, 01:29 ] |
| Post subject: | |
i know that.....but for what.... |
|
| Author: | C3RBERUS [ Saturday, 08 Jan 2005, 01:32 ] |
| Post subject: | |
ClarencE ™ wrote: rofl.. this is programming stuffs..
that's not funny....... |
|
| Author: | ClarencE [ Saturday, 08 Jan 2005, 02:25 ] |
| Post subject: | |
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......
|
|
| Author: | |2eM!x [ Saturday, 08 Jan 2005, 09:43 ] |
| Post subject: | |
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 |
|
| Author: | jarro_2783 [ Saturday, 08 Jan 2005, 11:00 ] |
| Post subject: | |
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. |
|
| Author: | |2eM!x [ Saturday, 08 Jan 2005, 17:33 ] |
| Post subject: | |
ill try when im on my normal computer.. is anyone interested in this program thing? thanks jarro for helping me! really appreciate it |
|
| Author: | ClarencE [ Saturday, 08 Jan 2005, 18:38 ] |
| Post subject: | |
kewl.. let me test it |
|
| Author: | fanmail [ Saturday, 08 Jan 2005, 20:50 ] |
| Post subject: | |
You have to put cheat protection on that thing |
|
| Author: | |2eM!x [ Sunday, 09 Jan 2005, 04:51 ] |
| Post subject: | |
lmao! |
|
| Author: | |2eM!x [ Sunday, 09 Jan 2005, 05:10 ] |
| Post subject: | |
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? |
|
| Author: | |2eM!x [ Sunday, 09 Jan 2005, 05:45 ] |
| Post subject: | |
triple post sorry but wahtever... ITS DONE!<i wanted people to look, lol sry clar> |
|
| Page 1 of 3 | All times are UTC + 3 hours |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|