[CLEO] Вопрос - Ответ - Страница 113 - Форум Cheat-Master.ru
Модератор форума: Alowir, Sanoxxx  
[CLEO] Вопрос - Ответ
[CM]Рафаэль Дата: Суббота, 05.09.2015, 20:19 | Сообщение # 1
Cheat-Master
Сообщений: 3080
Статус: Offline

В этой теме задаются вопросы по CLEO, конкретным опкодам (например, назначение того или иного опкода) и т.д.


Форма вопроса:
Код
[color=#1E90FF][b]Вопрос:[/b][/color] text


Форма ответа:
Код
[color=#1E90FF][b]Ответ:[/b][/color] text



Мой Shop
Официальный гарант

Контактные данные:
VK: vk.com/ali_benua
Skype: lvinyipen
Telegram: @AliBenua
ICQ: 552-090-283
RAKSHA1337 Дата: Воскресенье, 06.09.2015, 01:09 | Сообщение # 1681
Советник
Сообщений: 784
Статус: Offline
Suharik, ищи, он где-то был.

В казино рандом. Но рандом в программах - это генератор псевдослучайных чисел, который написан ручками человека. А значит есть формула! Есть алгоритм! Есть тактика!
Кто не согласен - ставьте минус, после того как докажете обратное. https://habrahabr.ru/post/196442/
Toplivo Дата: Воскресенье, 06.09.2015, 01:09 | Сообщение # 1682
Советник
Сообщений: 728
Статус: Offline
Цитата Suharik ()
Нужен код кордмастера который тпхает на заданные координаты с любого места ( как в собейте ).

В конец скрипта:
Код

:coordmaster
0acd: "CoordMaster ON" 500
0087: 15@ = 0@
0087: 16@ = 1@
while true
       wait 0
       if 12@ == 12
       then
           12@ = 0
           break
       end
       0087: 0@ = 15@
       0087: 1@ = 16@
       actor.StorePos($PLAYER_ACTOR,9@,10@,11@)
       0509: 6@ = distance_between_XY 0@ 1@ and_XY 9@ 10@
       if 6@ <= 120.0
       then
           02CE: 11@ = ground_z_at 0@ 1@ 999.0
           09bc: $PLAYER_ACTOR 0@ 1@ 11@
           if actor.Driving($PLAYER_ACTOR)
           then
               5@ = actor.CurrentCar($PLAYER_ACTOR)
               car.LockInCurrentPosition(5@,0)
           else
               actor.LockInCurrentPosition($PLAYER_ACTOR,0)
           end
           break
       else
           0061: 0@ -= 9@
           0061: 1@ -= 10@
           0604: get_Z_angle_for_point 0@ 1@ store_to 6@
           if actor.Driving($PLAYER_ACTOR)
           then
               5@ = actor.CurrentCar($PLAYER_ACTOR)
               car.LockInCurrentPosition(5@,1)
               car.Angle(5@) = 6@
           else
               actor.LockInCurrentPosition($PLAYER_ACTOR,1)
               actor.Angle($PLAYER_ACTOR) = 6@
           end
           04C4: store_coords_to 8@ 9@ 10@ from_actor $PLAYER_ACTOR with_offset 0.0 2@ 0.0 // 70.0 - расстояние прыжка
           09bc: $PLAYER_ACTOR 8@ 9@ 3@
           32@ = 0
           while 0025:   4@ > 32@
               wait 0
               if 0adc: "OFF" // Дезактивация
               then
                   0acd: "CoordMaster OFF" 500
                   actor.StorePos($PLAYER_ACTOR,8@,9@,10@)
                   02CE: 11@ = ground_z_at 8@ 9@ 999.0
                   11@ += 1.0
                   00a1: $PLAYER_ACTOR 8@ 9@ 11@
                   if actor.Driving($PLAYER_ACTOR)
                   then
                       5@ = actor.CurrentCar($PLAYER_ACTOR)
                       car.LockInCurrentPosition(5@,0)
                   else
                       actor.LockInCurrentPosition($PLAYER_ACTOR,0)
                   end
                   12@ = 12
                   break
               end
           end
       end
end
0ab2: ret 0

Вызов:
Код
0ab1: call @coordmaster 5 X 34.1 Y 26.3 Length 70.0 Depth -80.0 Delay 1100 // 34.1 - координаты по оси X, 26.3 - координаты по оси Y, 70.0 - длинна прыжка, -80.0 - глубина(под землей), 1100 - задержка между ТП

Пример:
Код

while true
      wait 0
      if and
          0ab0: 53
          0ab0: 54
      then
          0ab1: call @coordmaster 5 X 34.1 Y 26.3 Length 70.0 Depth -80.0 Delay 1100
          while true
              wait 0
              if or
                  8ab0: 53
                  8ab0: 54
              then break
          end
      end
end

:coordmaster
0acd: "CoordMaster ON" 500
0087: 15@ = 0@
0087: 16@ = 1@
while true
       wait 0
       if 12@ == 12
       then
           12@ = 0
           break
       end
       0087: 0@ = 15@
       0087: 1@ = 16@
       actor.StorePos($PLAYER_ACTOR,9@,10@,11@)
       0509: 6@ = distance_between_XY 0@ 1@ and_XY 9@ 10@
       if 6@ <= 120.0
       then
           02CE: 11@ = ground_z_at 0@ 1@ 999.0
           09bc: $PLAYER_ACTOR 0@ 1@ 11@
           if actor.Driving($PLAYER_ACTOR)
           then
               5@ = actor.CurrentCar($PLAYER_ACTOR)
               car.LockInCurrentPosition(5@,0)
           else
               actor.LockInCurrentPosition($PLAYER_ACTOR,0)
           end
           break
       else
           0061: 0@ -= 9@
           0061: 1@ -= 10@
           0604: get_Z_angle_for_point 0@ 1@ store_to 6@
           if actor.Driving($PLAYER_ACTOR)
           then
               5@ = actor.CurrentCar($PLAYER_ACTOR)
               car.LockInCurrentPosition(5@,1)
               car.Angle(5@) = 6@
           else
               actor.LockInCurrentPosition($PLAYER_ACTOR,1)
               actor.Angle($PLAYER_ACTOR) = 6@
           end
           04C4: store_coords_to 8@ 9@ 10@ from_actor $PLAYER_ACTOR with_offset 0.0 2@ 0.0
           09bc: $PLAYER_ACTOR 8@ 9@ 3@
           32@ = 0
           while 0025:   4@ > 32@
               wait 0
               if 0adc: "OFF" // Дезактивация
               then
                   0acd: "CoordMaster OFF" 500
                   actor.StorePos($PLAYER_ACTOR,8@,9@,10@)
                   02CE: 11@ = ground_z_at 8@ 9@ 999.0
                   11@ += 1.0
                   00a1: $PLAYER_ACTOR 8@ 9@ 11@
                   if actor.Driving($PLAYER_ACTOR)
                   then
                       5@ = actor.CurrentCar($PLAYER_ACTOR)
                       car.LockInCurrentPosition(5@,0)
                   else
                       actor.LockInCurrentPosition($PLAYER_ACTOR,0)
                   end
                   12@ = 12
                   break
               end
           end
       end
end
0ab2: ret 0

Дезактивация:
Код
0adc: "OFF" //OFF не в чат




Дурак дает,умный берет.


Сообщение отредактировал Toplivo - Суббота, 15.02.2014, 22:32
RAKSHA1337 Дата: Воскресенье, 06.09.2015, 01:09 | Сообщение # 1683
Советник
Сообщений: 784
Статус: Offline
Toplivo, эмм даа, ещё сделай так что бы и высоту измерял (я в своём сделал). Ну чтобы можно было хоть на чилиад ТП

Добавлено (15.02.2014, 22:51)
---------------------------------------------
Активация 5+6

Добавлено (15.02.2014, 22:52)
---------------------------------------------
Как блин так пишешь? Я походу 1 такой, который пишет как декомпилятор.

Добавлено (15.02.2014, 22:53)
---------------------------------------------
И главно не путаешься


В казино рандом. Но рандом в программах - это генератор псевдослучайных чисел, который написан ручками человека. А значит есть формула! Есть алгоритм! Есть тактика!
Кто не согласен - ставьте минус, после того как докажете обратное. https://habrahabr.ru/post/196442/
Toplivo Дата: Воскресенье, 06.09.2015, 01:09 | Сообщение # 1684
Советник
Сообщений: 728
Статус: Offline
Цитата RAKSHA1337 ()
ещё сделай так что бы и высоту измерял (я в своём сделал). Ну чтобы можно было хоть на чилиад ТП

Цитата Toplivo ()

02CE: 11@ = ground_z_at 0@ 1@ 999.0
09bc: $PLAYER_ACTOR 0@ 1@ 11@

Или я не так тебя понял?



Дурак дает,умный берет.
RAKSHA1337 Дата: Воскресенье, 06.09.2015, 01:09 | Сообщение # 1685
Советник
Сообщений: 784
Статус: Offline
Toplivo, ты на самую высокую гору так смогёшь тпшнуться без кика?

В казино рандом. Но рандом в программах - это генератор псевдослучайных чисел, который написан ручками человека. А значит есть формула! Есть алгоритм! Есть тактика!
Кто не согласен - ставьте минус, после того как докажете обратное. https://habrahabr.ru/post/196442/


Сообщение отредактировал RAKSHA1337 - Суббота, 15.02.2014, 22:57
Toplivo Дата: Воскресенье, 06.09.2015, 01:10 | Сообщение # 1686
Советник
Сообщений: 728
Статус: Offline
Цитата RAKSHA1337 ()
ты на самую высокую гору так смогёшь тпшнуться без кика?

Думаю да. Не кикает за тп от 90м до 120м



Дурак дает,умный берет.
Toplivo Дата: Воскресенье, 06.09.2015, 01:10 | Сообщение # 1687
Советник
Сообщений: 728
Статус: Offline
Цитата RAKSHA1337 ()
Как блин так пишешь?

Код взял из своего кордмастера(там код получше выглядит) и на скорую руку переделал под call. Лень было возиться с ним, т.к юзать все-равно никто не будет



Дурак дает,умный берет.
RAKSHA1337 Дата: Воскресенье, 06.09.2015, 01:10 | Сообщение # 1688
Советник
Сообщений: 784
Статус: Offline
Toplivo, там оно больше будет, да и на всякий случай не помешает.

Добавлено (15.02.2014, 23:04)
---------------------------------------------

Цитата Toplivo ()
Код взял из своего кордмастера

да я про эти всякие while true if then end break else


В казино рандом. Но рандом в программах - это генератор псевдослучайных чисел, который написан ручками человека. А значит есть формула! Есть алгоритм! Есть тактика!
Кто не согласен - ставьте минус, после того как докажете обратное. https://habrahabr.ru/post/196442/
Suharik Дата: Воскресенье, 06.09.2015, 01:10 | Сообщение # 1689
Любитель
Сообщений: 35
Статус: Offline
Крашит, что не так

Код
{$VERSION 3.1.1000}  
{$CLEO}
//-------------MAIN---------------  
0000: NOOP
thread 'kirill57rus'
03BC: 0@ = create_sphere_at 1667.73 -2080.54 13.55 radius 1.0
03BC: 1@ = create_sphere_at 2190.02 -1834.03 16.15 radius 1.0
03BC: 2@ = create_sphere_at 2536.84 -1662.19 15.18 radius 1.0
03BC: 3@ = create_sphere_at 2793.50 -1626.17 10.92 radius 1.0
03BC: 4@ = create_sphere_at 2654.21 -2031.46 13.55 radius 1.0

:marker_1
wait 0
if
00EC: actor $PLAYER_ACTOR sphere 0 near_point 1667.73 -2080.54 13.55 radius 1.0 1.0
else_jump @marker_2
jump @teleport

:marker_2
wait 0
if
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2190.02 -1834.03 16.15 radius 1.0 1.0
else_jump @marker_3
jump @teleport

:marker_3
wait 0
if
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2536.84 -1662.19 15.18 radius 1.0 1.0
else_jump @marker_4
jump @teleport

:marker_4
wait 0
if
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2793.50 -1626.17 10.92 radius 1.0 1.0
else_jump @marker_5
jump @teleport

:marker_5
wait 0
if
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2654.21 -2031.46 13.55 radius 1.0 1.0
else_jump @marker_1
jump @teleport

:teleport  
0ab1: call @teleport 5 X 223.50 Y 1931.45 Length 70.0 Depth -80.0 Delay 1100 // 34.1 - ?????????? ?? ??? X, 26.3 - ?????????? ?? ??? Y, 70.0 - ?????? ??????, -80.0 - ???????(??? ??????), 1100 - ???????? ????? ??
0acd: "Teleport on" 500  
0087: 15@ = 0@  
0087: 16@ = 1@  
while true  
        wait 0  
        if 12@ == 12  
        then  
            12@ = 0  
            break  
        end  
        0087: 0@ = 15@  
        0087: 1@ = 16@  
        actor.StorePos($PLAYER_ACTOR,9@,10@,11@)  
        0509: 6@ = distance_between_XY 0@ 1@ and_XY 9@ 10@  
        if 6@ <= 120.0  
        then  
            02CE: 11@ = ground_z_at 0@ 1@ 999.0  
            09bc: $PLAYER_ACTOR 0@ 1@ 11@  
            if actor.Driving($PLAYER_ACTOR)  
            then  
                5@ = actor.CurrentCar($PLAYER_ACTOR)  
                car.LockInCurrentPosition(5@,0)  
            else  
                actor.LockInCurrentPosition($PLAYER_ACTOR,0)  
            end  
            break  
        else  
            0061: 0@ -= 9@  
            0061: 1@ -= 10@  
            0604: get_Z_angle_for_point 0@ 1@ store_to 6@  
            if actor.Driving($PLAYER_ACTOR)  
            then  
                5@ = actor.CurrentCar($PLAYER_ACTOR)  
                car.LockInCurrentPosition(5@,1)  
                car.Angle(5@) = 6@  
            else  
                actor.LockInCurrentPosition($PLAYER_ACTOR,1)  
                actor.Angle($PLAYER_ACTOR) = 6@  
            end  
            04C4: store_coords_to 8@ 9@ 10@ from_actor $PLAYER_ACTOR with_offset 0.0 2@ 0.0 // 70.0 - ?????????? ??????  
            09bc: $PLAYER_ACTOR 8@ 9@ 3@  
            32@ = 0  
            while 0025:   4@ > 32@  
                wait 0  
                if 0adc: "OFF" // ????????????  
                then  
                    0acd: "CoordMaster OFF" 500  
                    actor.StorePos($PLAYER_ACTOR,8@,9@,10@)  
                    02CE: 11@ = ground_z_at 8@ 9@ 999.0  
                    11@ += 1.0  
                    00a1: $PLAYER_ACTOR 8@ 9@ 11@  
                    if actor.Driving($PLAYER_ACTOR)  
                    then  
                        5@ = actor.CurrentCar($PLAYER_ACTOR)  
                        car.LockInCurrentPosition(5@,0)  
                    else  
                        actor.LockInCurrentPosition($PLAYER_ACTOR,0)  
                    end  
                    12@ = 12  
                    break  
                end  
            end  
        end  
end  
0ab2: ret 0  
jump @marker_1

Добавлено (16.02.2014, 11:18)
---------------------------------------------
Крашит когда встаешь на маркер


>> Скупаю аккаунты Advance RP | Быстро, анонимно, безопасно <<

Статус VK -
Toplivo Дата: Воскресенье, 06.09.2015, 01:10 | Сообщение # 1690
Советник
Сообщений: 728
Статус: Offline
Код
{$VERSION 3.1.1000}   
{$CLEO}  
//-------------MAIN---------------   
0000: NOOP  
thread 'kirill57rus'  
03BC: 17@ = create_sphere_at 1667.73 -2080.54 13.55 radius 1.0  
03BC: 18@ = create_sphere_at 2190.02 -1834.03 16.15 radius 1.0  
03BC: 19@ = create_sphere_at 2536.84 -1662.19 15.18 radius 1.0  
03BC: 20@ = create_sphere_at 2793.50 -1626.17 10.92 radius 1.0  
03BC: 21@ = create_sphere_at 2654.21 -2031.46 13.55 radius 1.0  

:marker_1  
wait 0  
if  
00EC: actor $PLAYER_ACTOR sphere 0 near_point 1667.73 -2080.54 13.55 radius 1.0 1.0  
else_jump @marker_2  
jump @teleport  

:marker_2  
wait 0  
if  
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2190.02 -1834.03 16.15 radius 1.0 1.0  
else_jump @marker_3  
jump @teleport  

:marker_3  
wait 0  
if  
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2536.84 -1662.19 15.18 radius 1.0 1.0  
else_jump @marker_4  
jump @teleport  

:marker_4  
wait 0  
if  
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2793.50 -1626.17 10.92 radius 1.0 1.0  
else_jump @marker_5  
jump @teleport  

:marker_5  
wait 0  
if  
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2654.21 -2031.46 13.55 radius 1.0 1.0  
else_jump @marker_1  
jump @teleport  

:teleport   
0ab1: call @coordmaster 5 X 223.50 Y 1931.45 Length 70.0 Depth -80.0 Delay 1100
jump @marker_1  

:coordmaster   
while true   
         wait 0
         0087: 15@ = 0@   
         0087: 16@ = 1@
         0acd: "Teleport ON" 500   
         if 12@ == 12   
         then   
             12@ = 0   
             break   
         end   
         0087: 0@ = 15@   
         0087: 1@ = 16@   
         actor.StorePos($PLAYER_ACTOR,9@,10@,11@)   
         0509: 6@ = distance_between_XY 0@ 1@ and_XY 9@ 10@   
         if 6@ <= 120.0   
         then   
             02CE: 11@ = ground_z_at 0@ 1@ 999.0   
             09bc: $PLAYER_ACTOR 0@ 1@ 11@   
             if actor.Driving($PLAYER_ACTOR)   
             then   
                 5@ = actor.CurrentCar($PLAYER_ACTOR)   
                 car.LockInCurrentPosition(5@,0)   
             else   
                 actor.LockInCurrentPosition($PLAYER_ACTOR,0)   
             end   
             break   
         else   
             0061: 0@ -= 9@   
             0061: 1@ -= 10@   
             0604: get_Z_angle_for_point 0@ 1@ store_to 6@   
             if actor.Driving($PLAYER_ACTOR)   
             then   
                 5@ = actor.CurrentCar($PLAYER_ACTOR)   
                 car.LockInCurrentPosition(5@,1)   
                 car.Angle(5@) = 6@   
             else   
                 actor.LockInCurrentPosition($PLAYER_ACTOR,1)   
                 actor.Angle($PLAYER_ACTOR) = 6@   
             end   
             04C4: store_coords_to 8@ 9@ 10@ from_actor $PLAYER_ACTOR with_offset 0.0 2@ 0.0 // 70.0 - ?????????? ??????   
             09bc: $PLAYER_ACTOR 8@ 9@ 3@   
             32@ = 0   
             while 0025:   4@ > 32@   
                 wait 0   
                 if 0adc: "OFF"  
                 then   
                     0acd: "CoordMaster OFF" 500   
                     actor.StorePos($PLAYER_ACTOR,8@,9@,10@)   
                     02CE: 11@ = ground_z_at 8@ 9@ 999.0   
                     11@ += 1.0   
                     00a1: $PLAYER_ACTOR 8@ 9@ 11@   
                     if actor.Driving($PLAYER_ACTOR)   
                     then   
                         5@ = actor.CurrentCar($PLAYER_ACTOR)   
                         car.LockInCurrentPosition(5@,0)   
                     else   
                         actor.LockInCurrentPosition($PLAYER_ACTOR,0)   
                     end   
                     12@ = 12   
                     break   
                 end   
             end   
         end   
end   
0ab2: ret 0  



Дурак дает,умный берет.
Suharik Дата: Воскресенье, 06.09.2015, 01:10 | Сообщение # 1691
Любитель
Сообщений: 35
Статус: Offline
Спасибо огромное :3

Добавлено (16.02.2014, 12:15)
---------------------------------------------
Только когда я становлюсь на пикап он не тпхает в координаты которые мне нужны, а именно на 223.50 1931.45 17.64, а тпхает по всей карте кругами


>> Скупаю аккаунты Advance RP | Быстро, анонимно, безопасно <<

Статус VK -
Toplivo Дата: Воскресенье, 06.09.2015, 01:11 | Сообщение # 1692
Советник
Сообщений: 728
Статус: Offline
Цитата Suharik ()
Только когда я становлюсь на пикап он не тпхает в координаты которые мне нужны, а именно на 223.50 1931.45 17.64, а тпхает по всей карте кругами

Код

{$VERSION 3.1.1000}    
{$CLEO}   
//-------------MAIN---------------    
0000: NOOP   
thread 'kirill57rus'   
03BC: 17@ = create_sphere_at 1667.73 -2080.54 13.55 radius 1.0   
03BC: 18@ = create_sphere_at 2190.02 -1834.03 16.15 radius 1.0   
03BC: 19@ = create_sphere_at 2536.84 -1662.19 15.18 radius 1.0   
03BC: 20@ = create_sphere_at 2793.50 -1626.17 10.92 radius 1.0   
03BC: 21@ = create_sphere_at 2654.21 -2031.46 13.55 radius 1.0   

:marker_1   
wait 0   
if   
00EC: actor $PLAYER_ACTOR sphere 0 near_point 1667.73 -2080.54 13.55 radius 1.0 1.0   
else_jump @marker_2   
jump @teleport   

:marker_2   
wait 0   
if   
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2190.02 -1834.03 16.15 radius 1.0 1.0   
else_jump @marker_3   
jump @teleport   

:marker_3   
wait 0   
if   
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2536.84 -1662.19 15.18 radius 1.0 1.0   
else_jump @marker_4   
jump @teleport   

:marker_4   
wait 0   
if   
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2793.50 -1626.17 10.92 radius 1.0 1.0   
else_jump @marker_5   
jump @teleport   

:marker_5   
wait 0   
if   
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2654.21 -2031.46 13.55 radius 1.0 1.0   
else_jump @marker_1   
jump @teleport   

:teleport    
0ab1: call @coordmaster 5 X 223.50 Y 1931.45 Length 70.0 Depth -80.0 Delay 1100  
jump @marker_1   

:coordmaster
0acd: "CoordMaster ON" 500
0087: 15@ = 0@
0087: 16@ = 1@
while true
     wait 0
     if 12@ == 12
     then
         12@ = 0
         break
     end
     0087: 0@ = 15@
     0087: 1@ = 16@
     actor.StorePos($PLAYER_ACTOR,9@,10@,11@)
     0509: 6@ = distance_between_XY 0@ 1@ and_XY 9@ 10@
     if 6@ <= 120.0
     then
         02CE: 11@ = ground_z_at 0@ 1@ 999.0
         09bc: $PLAYER_ACTOR 0@ 1@ 11@
         if actor.Driving($PLAYER_ACTOR)
         then
             5@ = actor.CurrentCar($PLAYER_ACTOR)
             car.LockInCurrentPosition(5@,0)
         else
             actor.LockInCurrentPosition($PLAYER_ACTOR,0)
         end
         break
     else
         0061: 0@ -= 9@
         0061: 1@ -= 10@
         0604: get_Z_angle_for_point 0@ 1@ store_to 6@
         if actor.Driving($PLAYER_ACTOR)
         then
             5@ = actor.CurrentCar($PLAYER_ACTOR)
             car.LockInCurrentPosition(5@,1)
             car.Angle(5@) = 6@
         else
             actor.LockInCurrentPosition($PLAYER_ACTOR,1)
             actor.Angle($PLAYER_ACTOR) = 6@
         end
         04C4: store_coords_to 8@ 9@ 10@ from_actor $PLAYER_ACTOR with_offset 0.0 2@ 0.0 // 70.0 - расстояние прыжка
         09bc: $PLAYER_ACTOR 8@ 9@ 3@
         32@ = 0
         while 0025:   4@ > 32@
             wait 0
             if 0adc: "OFF" // Дезактивация
             then
                 0acd: "CoordMaster OFF" 500
                 actor.StorePos($PLAYER_ACTOR,8@,9@,10@)
                 02CE: 11@ = ground_z_at 8@ 9@ 999.0
                 11@ += 1.0
                 00a1: $PLAYER_ACTOR 8@ 9@ 11@
                 if actor.Driving($PLAYER_ACTOR)
                 then
                     5@ = actor.CurrentCar($PLAYER_ACTOR)
                     car.LockInCurrentPosition(5@,0)
                 else
                     actor.LockInCurrentPosition($PLAYER_ACTOR,0)
                 end
                 12@ = 12
                 break
             end
         end
     end
end
0ab2: ret 0

Должен робить 100%



Дурак дает,умный берет.
Nem4ik Дата: Воскресенье, 06.09.2015, 01:11 | Сообщение # 1693
Боец
Сообщений: 92
Статус: Offline
Иногда крашит помогите исправить,и если ещё можно добавте автопокупку дома


Сообщение отредактировал Nem4ik - Понедельник, 17.02.2014, 17:16
Кoт Дата: Воскресенье, 06.09.2015, 01:11 | Сообщение # 1694

Сообщений: 1074
Статус: Offline
Цитата Nem4ik ()
:HOUSECHECKER_546
Actor.PutAt($PLAYER_ACTOR, 1@, 2@, 3@)
return


:HOUSECHECKER_546
Actor.PutAt($PLAYER_ACTOR, 1@, 2@, 3@)
wait 500
0af9: "/buyhouse"
return

а крашит из-за сф,потому что его на 03z fix


RAKSHA1337 Дата: Воскресенье, 06.09.2015, 01:11 | Сообщение # 1695
Советник
Сообщений: 784
Статус: Offline
dikker4q, да. Открываешь скрипт и ставишь условие при котором он будет активироваться.

Добавлено (18.02.2014, 14:00)
---------------------------------------------

Цитата Кoт ()
:HOUSECHECKER_546 Actor.PutAt($PLAYER_ACTOR, 1@, 2@, 3@) wait 500 0af9: "/buyhouse" return

Можно и без СФ, вот так попробовать
Код

:HOUSECHECKER_546  
  Actor.PutAt($PLAYER_ACTOR, 1@, 2@, 3@)  
  wait 500  
if
0AB1: call_scm_func @Say 1  "/buyhouse"
jf @HOUSECHECKER_546  
  return

:say
00D6: if
0AA2: 4@ = load_library "kernel32.dll" // IF and SET
004D: jump_if_false @ErrorLib
00D6: if
0AA4: 1@ = get_proc_address "GetModuleHandleA" library 4@ // IF and SET
004D: jump_if_false @end
0AA7: call_function 1@ num_params 1 pop 0 "samp.dll" 4@
4@ += 0x4CA0
  0AA5: call 4@ num_params 1 pop 0 0@
0485:  return_true

:ErrorLib
0AA3: free_library 4@

:end
059A:  return_false


p.s. Не проверял, но вдруг получится.


В казино рандом. Но рандом в программах - это генератор псевдослучайных чисел, который написан ручками человека. А значит есть формула! Есть алгоритм! Есть тактика!
Кто не согласен - ставьте минус, после того как докажете обратное. https://habrahabr.ru/post/196442/
Поиск:
Статистика Форума