Add on/off in cleo

Статус
В этой теме нельзя размещать новые ответы.

Boby

Новичок
Автор темы
9
2
i have code but it automatically turn when i'm join game , how to add on/off for this code??
Код:
{$cleo}
thread display

while true
   wait 0
   0390: load_txd_dictionary 'sniper'
   038F: load_texture "scope" as 1

   while 8AB0: not  key_pressed 64
       wait 0
       03F0: enable_text_draw 1
       038D: draw_texture 1 position 320.0 240.0 size 640.0 480.0 RGBA 255 255 255 255
   end
end
 

DarkP1xel

Сила воли наше всё.
BH Team
3,635
4,957
CLEO:
{$CLEO} 
0B34: samp register_client_command "CMD" to_label @CMD
0390: load_txd_dictionary "SNIPER"
038F: load_texture "SCORE" as 1

WHILE TRUE
0001: 0
    IF 0039:   0@ == TRUE
    THEN
    03F0: enable_text_draw TRUE
    03E3: set_texture_to_be_drawn_antialiased TRUE
    038D: draw_texture 1 position 320.0 240.0 size 640.0 480.0 RGBA 255 255 255 255
    END
END

:CMD
0B12: 0@ = 0@ XOR 1
0B43: samp cmd_ret
 
  • Нравится
Реакции: Boby
Статус
В этой теме нельзя размещать новые ответы.