[Помощь]Добавить активацию в скрипт - Форум Cheat-Master.ru
  • Страница 1 из 1
  • 1
Модератор форума: Alowir, Sanoxxx  
[Помощь]Добавить активацию в скрипт
fedasevka Дата: Пятница, 07.06.2019, 23:31 | Сообщение # 1
Любитель
Сообщений: 34
Статус: Offline
Привет, помогите сделать кнопку для активации скрипта VD или командой /vodolaz.В клео не шарю(АХК скриптер)
Код

{$CLEO}
0000:
if not 0@ = Samp.Base()
then 0A93:
end

repeat
    wait 400
until Samp.Available()

alloc 0@ 512
alloc 1@ 512
0B6D: render 11@ = create_font "Tahoma" height 15 flags  0x4

while true
wait 0
    for 1@ = 0 to 1000             
            if 0B50: samp 2@ = object_handle_by_id 1@
                then  
                01BB: store_object 2@ position_to 3@ 4@ 5@
                if 00C2:   sphere_onscreen 3@ 4@ 5@ radius 0.0
                    then
                    Actor.StorePos($PLAYER_ACTOR, 6@, 7@, 8@)
                    0B55: convert_3D_coords 3@ 4@ 5@ to_screen 3@ 4@
                    0B55: convert_3D_coords 6@ 7@ 8@ to_screen 6@ 7@                    
                    0984: 8@ = object 2@ model
                   
                    if 8@ == 19941
                    then
                    0B68: render draw_line_point1 3@ 4@ point2 6@ 7@ width 1 color 0x8833ff33                    
                    0B70: render draw_polygon_pos 3@ 4@ size 3 3 corners 7 rotation 0 color 0xba00ff00
                    format 0@ "Золотой слиток"
                    3@ += 5
                    4@ -= 7
                    0B6F: render font 11@ draw_text 0@ pos 3@ 4@ color 0xcac1f4c1
                    end
                   
                    if 8@ == 1575
                    then
                    0B68: render draw_line_point1 3@ 4@ point2 6@ 7@ width 1 color 0x8833ff33                    
                    0B70: render draw_polygon_pos 3@ 4@ size 3 3 corners 7 rotation 0 color 0xba00ff00
                    format 0@ "ДРАГОЦЕННОСТИ"
                    3@ += 5
                    4@ -= 7
                    0B6F: render font 11@ draw_text 0@ pos 3@ 4@ color 0xcac1f4c1
                    end
                end  
            end
    end
end
Rose_Winchester Дата: Понедельник, 17.06.2019, 11:05 | Сообщение # 2
Знаток
Сообщений: 596
Статус: Offline
Код
{$CLEO}
0000:
if not 0@ = Samp.Base()
then 0A93:
end

repeat
    wait 400
until Samp.Available()

alloc 0@ 512
alloc 1@ 512
0B6D: render 11@ = create_font "Tahoma" height 15 flags  0x4
0B34: register_client_command "vd" to_label @vd

:vd
wait 0
    for 1@ = 0 to 1000             
            if 0B50: samp 2@ = object_handle_by_id 1@
                then  
                01BB: store_object 2@ position_to 3@ 4@ 5@
                if 00C2:   sphere_onscreen 3@ 4@ 5@ radius 0.0
                    then
                    Actor.StorePos($PLAYER_ACTOR, 6@, 7@, 8@)
                    0B55: convert_3D_coords 3@ 4@ 5@ to_screen 3@ 4@
                    0B55: convert_3D_coords 6@ 7@ 8@ to_screen 6@ 7@                    
                    0984: 8@ = object 2@ model
                   
                    if 8@ == 19941
                    then
                    0B68: render draw_line_point1 3@ 4@ point2 6@ 7@ width 1 color 0x8833ff33                    
                    0B70: render draw_polygon_pos 3@ 4@ size 3 3 corners 7 rotation 0 color 0xba00ff00
                    format 0@ "Золотой слиток"
                    3@ += 5
                    4@ -= 7
                    0B6F: render font 11@ draw_text 0@ pos 3@ 4@ color 0xcac1f4c1
                    end
                   
                    if 8@ == 1575
                    then
                    0B68: render draw_line_point1 3@ 4@ point2 6@ 7@ width 1 color 0x8833ff33                    
                    0B70: render draw_polygon_pos 3@ 4@ size 3 3 corners 7 rotation 0 color 0xba00ff00
                    format 0@ "ДРАГОЦЕННОСТИ"
                    3@ += 5
                    4@ -= 7
                    0B6F: render font 11@ draw_text 0@ pos 3@ 4@ color 0xcac1f4c1
                    end
                end  
            end
    end
end


Попробуй этот код.


Good! Offical VK - https://vk.com/id506695315
  • Страница 1 из 1
  • 1
Поиск:
Статистика Форума
Лучшие пользователи
Admin [39113]

GеNius [7210]

[CM]Russel [5557]

kenlo763 [4952]

[CM]AGRESSOR [4639]

Snake_Firm [4452]

Сэс [4416]

Artem_Buero [4223]

[CM]Durman [3204]

[CM]Рафаэль [3080]

iMaddy [2855]

sky_Woker [2854]

getrekt [2745]

Новые пользователи
wyatzz1313 [18:45]

Stankeev [16:00]

Lum1x [15:50]

NightMusicant [12:32]

douoling652 [10:40]

billienq1 [01:47]

staciah1 [01:15]

maksmovictimofej [00:18]

jamiedv6 [21:25]

billieds7 [20:51]

aprilez9 [15:57]

am9350450 [14:36]

dcvfre [11:04]