|
how can i make my lite-c program exit after few seconds?
#300186
11/30/09 13:15
11/30/09 13:15
|
Joined: Nov 2008
Posts: 196 the wrong place
Muhsin
OP
Member
|
OP
Member
Joined: Nov 2008
Posts: 196
the wrong place
|
Hi!
how can i make my lite-c program exit after few seconds?
thanks
- Muhsin Kaymak
Come and play my new browsergame - Valley Of Wolves: http://www.mafiacreator.com/ValleyOfWolvesHurry and be the first to take over the different business' in the Valley Of Wolves, before anybody else does it! And be the most feared MafiaBoss in the World!!
|
|
|
Re: how can i make my lite-c program exit after few seconds?
[Re: Muhsin]
#300187
11/30/09 13:17
11/30/09 13:17
|
Joined: Oct 2007
Posts: 5,210 Ä°stanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
|
wait(-3);//3sn bekle sys_exit("");//programi kapat
3333333333
|
|
|
Re: how can i make my lite-c program exit after few seconds?
[Re: Quad]
#300188
11/30/09 13:25
11/30/09 13:25
|
Joined: Nov 2008
Posts: 196 the wrong place
Muhsin
OP
Member
|
OP
Member
Joined: Nov 2008
Posts: 196
the wrong place
|
Come and play my new browsergame - Valley Of Wolves: http://www.mafiacreator.com/ValleyOfWolvesHurry and be the first to take over the different business' in the Valley Of Wolves, before anybody else does it! And be the most feared MafiaBoss in the World!!
|
|
|
Re: how can i make my lite-c program exit after few seconds?
[Re: Muhsin]
#300197
11/30/09 14:02
11/30/09 14:02
|
Joined: Nov 2009
Posts: 6 TURKİYE
kadas
Newbie
|
Newbie
Joined: Nov 2009
Posts: 6
TURKİYE
|
wait(-3); // niye +3 yazmadik ? //why we dont write +3
Last edited by kadas; 11/30/09 14:04.
TURKIYE/GAZIANTEP I can not speak English well. I know a little lite-c. KADIR CAN CETİN
|
|
|
Re: how can i make my lite-c program exit after few seconds?
[Re: kadas]
#300199
11/30/09 14:05
11/30/09 14:05
|
Joined: Oct 2007
Posts: 5,210 Ä°stanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
|
3 ( or +3) waits for 3 "frames", -3 waits for 3 "seconds".
3333333333
|
|
|
Re: how can i make my lite-c program exit after few seconds?
[Re: Quad]
#300204
11/30/09 14:33
11/30/09 14:33
|
Joined: Nov 2009
Posts: 6 TURKİYE
kadas
Newbie
|
Newbie
Joined: Nov 2009
Posts: 6
TURKİYE
|
ok tahnx if fps speed = 60; +3 or -3 it doesn't matter.That is right?
Last edited by kadas; 11/30/09 14:34.
TURKIYE/GAZIANTEP I can not speak English well. I know a little lite-c. KADIR CAN CETİN
|
|
|
Re: how can i make my lite-c program exit after few seconds?
[Re: kadas]
#300206
11/30/09 14:39
11/30/09 14:39
|
Joined: Oct 2007
Posts: 5,210 Ä°stanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
|
if fps is 60
it will wait 3/60 secons when you call wait(3);
if you call wait(-3); it will wait 3 seconds regardless from frame rate.
3333333333
|
|
|
|