#1 24-07-2013 22:44

eek
Registered: 06-07-2013
Posts: 23
Website

Помогите с таймером

{$CLEO .cs}
0662: NOP ""
thread "asdasdasdasd"

if
    8AF7: get_samp_base_to 33@
then
    0A93: end_custom_thread
end
repeat
    wait 400
until 0AFA: is_samp_structures_available
 
0B34: samp register_client_command "timer" to_label @timer

while true
wait 0
end
    
:timer

:Noname_30
wait 0 
0A8F: 1@ = 180000 - 32@ // int 
0085: 0@ = 1@ // (int) 
0@ /= 60000 
0085: 2@ = 0@ // (int) 
2@ *= 60000 
0062: 1@ -= 2@ // (int) 
1@ /= 1000 
03F0: enable_text_draw 1 
if 
  1@ > 9 
jf @Noname_155 
045B: draw_text_2numbers 200.0 200.0 GXT 'TIME' numbers 0@ 1@  // ~1~:~1~
jump @Noname_182 

:Noname_155
045B: draw_text_2numbers 200.0 200.0 GXT 'TIME_0' numbers 0@ 1@  // ~1~:0~1~

:Noname_182
if and
  0@ == 0 
  1@ == 0 
jf @timer
jump @Noname_261 


:Noname_254
jump @Noname_30 

:Noname_261
jump @timer
0B43: samp cmd_ret

Там должен идти отсчет 3 минуты, но вместо 3ох минут страшные цифры

Offline

#2 24-07-2013 22:47

Seemann
Registered: 07-08-2006
Posts: 2,155

Re: Помогите с таймером

Чем вас эта тема не устроила?
http://sannybuilder.com/forums/viewtopic.php?id=3603

Закрыто.

Offline

Board footer

Powered by FluxBB