[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
nickname1056
Дата: Пятница, 09.09.2016, 22:13 | Сообщение # 4006
Новичок
Сообщений: 16
Статус: Offline
Вопрос: Можно ли где-то найти список опкодов и главное их описание?
DokerGT
Дата: Пятница, 16.09.2016, 19:54 | Сообщение # 4007
★Doker крутой перец! ★
Сообщений: 329
Статус: Offline
nickname1056 , bh wiki
k2lled2
Дата: Пятница, 16.09.2016, 21:32 | Сообщение # 4008
Новичок
Сообщений: 2
Статус: Offline
Вопрос: допустим у меня стоит 2 клавиши активации - W + R if and 0AB0: key_pressed 82 0AB0: key_pressed 87 Как сделать так, чтобы была деактивация, если отпустится одна ЛИБО вторая клавиша? я могу сделать только одну ( 8AB0: not key_pressed 82 или 8AB0: not key_pressed 87 - одного из этого), но как сделать так, чтобы работали обе? (Чтобы при отпускании одной из них, а не одной конкретной/двух сразу, действие скрипта прекращалось)UPD. Разобрался: if or 8AB0: not key_pressed 82 8AB0: not key_pressed 87
Сообщение отредактировал k2lled2 - Пятница, 16.09.2016, 21:41
_KuZen_
Дата: Среда, 28.09.2016, 19:58 | Сообщение # 4009
Новичок
Сообщений: 9
Статус: Offline
Вопрос: Я хочу заменить с кнопки на команду, помогитеКод
if not 0@ = SAMP.Base() then 0A93: end_custom_thread end while not SAMP.Available() wait 100 end if 8AAB: not file_exists "cleo\_dmg.ini" then 0AF1: write_int 82 to_ini_file "cleo\_dmg.ini" section "Damage" key "key" 0AF1: write_int 100 to_ini_file "cleo\_dmg.ini" section "Damage" key "delay" end
Полный КОдКод
{$CLEO .cs} {$INCLUDE SF} 0662: "by woksonal" 0662: "Запрещенно" if not 0@ = SAMP.Base() then 0A93: end_custom_thread end while not SAMP.Available() wait 100 end if 8AAB: not file_exists "cleo\_dmg.ini" then 0AF1: write_int 82 to_ini_file "cleo\_dmg.ini" section "Damage" key "key" 0AF1: write_int 100 to_ini_file "cleo\_dmg.ini" section "Damage" key "delay" end 0B34: samp register_client_command "kill" to_label @kl while true wait 0 if and 056D: actor 12@ defined 8118: not actor 12@ dead 15@ == 1 then 00A0: store_actor 12@ position_to 25@ 26@ 27@ 0470: 16@ = actor $PLAYER_ACTOR current_weapon if 16@ == 0 then call @WeaponsUpdate 1 30@ call @Onfoot 2 494 32776 0BCB: samp send_give_damage playerid 30@ damage 6.60 weapon 0 bodypart 0 call @WeaponsUpdate 1 0xFFFF 0AF0: 16@ = get_int_from_ini_file "cleo\_dmg.ini" section "Damage" key "delay" wait 16@ else call @WeaponsUpdate 1 30@ call @Aim 2 25@ 26@ call @Onfoot1 0 call @Bullet 1 30@ call @DamageConvert 0 5@ 0470: 16@ = actor $PLAYER_ACTOR current_weapon 0BCB: samp send_give_damage playerid 30@ damage 5@ weapon 16@ bodypart 3 call @WeaponsUpdate 1 0xFFFF 0AF0: 16@ = get_int_from_ini_file "cleo\_dmg.ini" section "Damage" key "delay" wait 16@ end else 15@ = 0 end if and 8B21: not samp is_chat_opened 0AF0: 16@ = get_int_from_ini_file "cleo\_dmg.ini" section "Damage" key "key" key_down 16@ then for 0@ = 0 to 999 0B20: samp 4@ = actor_handle_by_samp_player_id 0@ if and 056D: actor 4@ defined 8118: not actor 4@ dead then 00A0: store_actor 4@ position_to 25@ 26@ 27@ 0470: 16@ = actor $PLAYER_ACTOR current_weapon if 16@ == 0 then call @WeaponsUpdate 1 30@ call @Onfoot 2 494 32776 0BCB: samp send_give_damage playerid 0@ damage 6.60 weapon 0 bodypart 0 call @WeaponsUpdate 1 0xFFFF 0AF0: 16@ = get_int_from_ini_file "cleo\_dmg.ini" section "Damage" key "delay" wait 16@ else call @WeaponsUpdate 1 0@ call @Aim 2 25@ 26@ call @Onfoot1 0 call @Bullet 1 0@ call @DamageConvert 0 5@ 0470: 16@ = actor $PLAYER_ACTOR current_weapon 0BCB: samp send_give_damage playerid 0@ damage 5@ weapon 16@ bodypart 3 call @WeaponsUpdate 1 0xFFFF 0AF0: 16@ = get_int_from_ini_file "cleo\_dmg.ini" section "Damage" key "delay" wait 16@ end end end end end :kl 0B35: samp 20@ = get_last_command_params if 0AD4: 20@ = scan_string 20@ format "%d" 30@ then 0B20: samp 12@ = actor_handle_by_samp_player_id 30@ if 056D: actor 12@ defined then 15@ = 1 else 15@ = 0 end end samp.CmdRet() :Onfoot 0B2B: samp 8@ = get_player_id_by_actor_handle $PLAYER_ACTOR 0AC8: 10@ = allocate_memory_size 68 0BBA: samp store_player 8@ onfoot_data 10@ 0C0D: struct 10@ offset 64 size 2 = 2@ 0C0D: struct 10@ offset 66 size 2 = 3@ 0BC0: samp send_onfoot_data 10@ 0AC9: free_allocated_memory 10@ 0AB2: ret 0 :Onfoot1 0B2B: samp 8@ = get_player_id_by_actor_handle $PLAYER_ACTOR 0AC8: 10@ = allocate_memory_size 68 0BBA: samp store_player 8@ onfoot_data 10@ 0C0D: struct 10@ offset 4 size 2 = 0x84 0BC0: samp send_onfoot_data 10@ 0AC9: free_allocated_memory 10@ 0AB2: ret 0 :Aim // в будущем допилю углы 0B2B: samp 9@ = get_player_id_by_actor_handle $PLAYER_ACTOR 0AC8: 11@ = allocate_memory_size 31 0BBE: samp store_player 9@ aim_data 11@ 068D: get_camera_position_to 2@ 3@ 14@ 0063: 2@ -= 0@ // (float) 0063: 3@ -= 1@ // (float) 0604: get_Z_angle_for_point 2@ 3@ store_to 4@ 0C02: math 4@ = angle_to_radian 4@ // (float) 4@ *= -1.0 0C03: math 2@ = sine 4@ // (float) 0C05: math 3@ = cosine 4@ // (float) 005B: 0@ += 2@ 005B: 1@ += 3@ 0C0D: struct 11@ offset 13 size 4 = 0@ 0C0D: struct 11@ offset 17 size 4 = 1@ repeat wait 0 0208: 10@ = random_float_in_ranges -0.015 0.015 until 10@ <> 0.0 005B: 2@ += 10@ // (float) 0C0D: struct 11@ offset 21 size 4 = 2@ 0BC3: samp send_aim_data 11@ 0AC9: free_allocated_memory 11@ 0AB2: ret 0 :Bullet 9@ = SAMP.GetActorHandleByPlayerID(0@) 0470: 16@ = actor $PLAYER_ACTOR current_weapon 041A: 4@ = actor $PLAYER_ACTOR weapon 16@ ammo 4@ -= 1 Actor.SetWeaponAmmo($PLAYER_ACTOR, 16@, 4@) alloc 5@ 40 0C0D: struct 5@ offset 0 size 1 = 1 0C0D: struct 5@ offset 1 size 2 = 0@ Actor.StorePos($PLAYER_ACTOR, 25@, 26@, 27@) 0C0D: struct 5@ offset 3 size 4 = 25@ 0C0D: struct 5@ offset 7 size 4 = 26@ 0C0D: struct 5@ offset 11 size 4 = 27@ Actor.StorePos(9@, 25@, 26@, 27@) 0C0D: struct 5@ offset 15 size 4 = 25@ 0C0D: struct 5@ offset 19 size 4 = 26@ 0C0D: struct 5@ offset 23 size 4 = 27@ 0208: 28@ = random_float_in_ranges -0.075 0.075 0208: 29@ = random_float_in_ranges -0.075 0.075 0C0D: struct 5@ offset 27 size 4 = 28@ 0C0D: struct 5@ offset 31 size 4 = 29@ 0C0D: struct 5@ offset 35 size 4 = 0.5 // head 0C0D: struct 5@ offset 39 size 1 = 16@ 0BC4: samp send_bullet_data 5@ free 5@ ret 0 <img src="/.s/sm/2/biggrin.gif" border="0" align="absmiddle" alt="biggrin" /> amageConvert // thx SR TEAM 0A96: 2@ = actor $PLAYER_ACTOR struct 2@ += 0x72C 0A8D: 2@ = read_memory 2@ size 1 virtual_protect 0 0470: 0@ = actor $PLAYER_ACTOR current_weapon 0085: 1@ = 0@ if 2@ == 2 then 1@ += 25 end if 2@ == 3 then 1@ += 36 end 1@ *= 112 1@ += 13150904 1@ += 0x22 0A8D: 1@ = read_memory 1@ size 2 virtual_protect 0 0093: 1@ = integer 1@ to_float if and 0@ >= 22 0@ <> 25 0@ <> 26 0@ <> 27 0@ <= 34 then 1@ /= 3.0434782608695652173913043478261 end ret 1 1@ :WeaponsUpdate 0AC8: 4@ = allocate_memory_size 6 0C0D: struct 4@ offset 0 size 2 = 0@ // targetPlayerId 0A96: 1@ = actor $PLAYER_ACTOR struct 0a8e: 2@ = 1@ + 0x718 0A8D: 2@ = read_memory 2@ size 1 virtual_protect 0 0C0D: struct 4@ offset 2 size 1 = 2@ // slot 0470: 3@ = actor $PLAYER_ACTOR current_weapon 0C0D: struct 4@ offset 3 size 1 = 3@ // weapon 041A: 7@ = actor $PLAYER_ACTOR weapon 3@ ammo 0C0D: struct 4@ offset 4 size 2 = 7@ // ammo 0B3D: raknet 5@ = new_bit_stream 0B40: raknet bit_stream 5@ write PACKET_WEAPONS_UPDATE type BS_TYPE_BYTE size 1 0B40: raknet bit_stream 5@ write 4@ type BS_TYPE_ARRAY size 6 0B8B: raknet send bit_stream 5@ 0B3E: raknet delete_bit_stream 5@ 0AC9: free_allocated_memory 4@ 0AB2: ret 0
Сообщение отредактировал _KuZen_ - Среда, 28.09.2016, 20:01
AlwaysOnline
Дата: Среда, 28.09.2016, 22:37 | Сообщение # 4010
Боец
Сообщений: 101
Статус: Offline
MISTER_SMITH , Что бы использовать Sanny Builder, Cleo библиотека не нужна.
cheat-master.ru/forum/150-675944-1 - [CS:GO]Bunny Hopping cheat-master.ru/forum/129-689334-1 - [SAMP]Визуальная смена скина.
RellaX
Дата: Пятница, 30.09.2016, 10:53 | Сообщение # 4011
Боец
Сообщений: 282
Статус: Offline
Вопрос: Вообщем может кто-то помочь и убрать задержку после использования команды /kicker /kick, я пытался убрать, но выдаёт ошибку всяких no_name при компиляции, хотя я даже не трогал. Уберите задержку и скомпилируйте пж, если можете, т.к я нуб в этом.
Код
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} //-------------MAIN--------------- wait 0 :Noname_4 wait 400 SAMP.Available else_jump @Noname_4 31@ = 0 32@ = 0 33@ = 0 0B34: samp register_client_command "kicker" to_label @Noname_3171 0B34: samp register_client_command "kick" to_label @Noname_3025 :Noname_67 wait 0 if 0@ == 1 else_jump @Noname_1277 SAMP.IsCommandTyped(1@) if 0AD4: 2@ = scan_string 1@ format "%d" 1@ else_jump @Noname_1243 if SAMP.IsPlayerConnected(1@) else_jump @Noname_1107 3@ = SAMP.GetActorHandleByPlayerID(1@) if Actor.Driving($PLAYER_ACTOR) else_jump @Noname_1034 if not Actor.Dead(3@) else_jump @Noname_925 if not SAMP.IsPlayerPaused(1@) else_jump @Noname_817 12@ = Actor.CurrentCar($PLAYER_ACTOR) if 14@ == 0 else_jump @Noname_303 04C4: store_coords_to 13@ 15@ 18@ from_actor 3@ with_offset 0.0 0.0 -1.0 04C4: store_coords_to 4@ 5@ 6@ from_actor 3@ with_offset 0.0 -1.0 -4.0 Actor.PutAt($PLAYER_ACTOR, 4@, 5@, 6@) wait 200 14@ = 1 :Noname_303 04C4: store_coords_to 7@ 8@ 9@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 050A: 19@ = distance_between_XYZ 13@ 15@ 18@ and_XYZ 7@ 8@ 9@ if not 19@ > 150.0 else_jump @Noname_720 if Actor.Driving(3@) else_jump @Noname_443 04C4: store_coords_to 4@ 5@ 6@ from_actor 3@ with_offset 0.0 -0.2 -1.0 0208: 20@ = random_float_in_ranges -1.3 -1.0 jump @Noname_495 :Noname_443 04C4: store_coords_to 4@ 5@ 6@ from_actor 3@ with_offset 0.0 -0.2 -1.0 0208: 20@ = random_float_in_ranges -8.0 -6.0 005B: 6@ += 20@ // (float) :Noname_495 04C4: store_coords_to 21@ 25@ 30@ from_actor 3@ with_offset 0.0 0.0 0.0 0208: 20@ = random_float_in_ranges -2.0 -1.6 005B: 30@ += 20@ // (float) call @Noname_2899 3 21@ 25@ 30@ Actor.PutAt($PLAYER_ACTOR, 4@, 5@, 6@) 099A: set_car 12@ collision_detection 0 04C4: store_coords_to 7@ 8@ 9@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 04C4: store_coords_to 4@ 5@ 6@ from_actor 3@ with_offset 0.0 0.0 -2.5 0063: 4@ -= 7@ // (float) 0063: 5@ -= 8@ // (float) 0604: get_Z_angle_for_point 4@ 5@ store_to 17@ Car.Angle(12@) = 17@ 02E3: 11@ = car 12@ speed 11@ = 0 11@ += 85.0 Car.SetSpeedInstantly(12@, 11@) jump @Noname_810 :Noname_720 Actor.StorePos($PLAYER_ACTOR, 21@, 25@, 30@) 02CE: 30@ = ground_z_at 21@ 25@ 999.0 Actor.PutAt($PLAYER_ACTOR, 21@, 25@, 30@) wait 200 04C4: store_coords_to 13@ 15@ 18@ from_actor 3@ with_offset 0.0 0.0 -1.0 chatmsg "ok" -48171 :Noname_810 jump @Noname_918 :Noname_817 chatmsg "Жертва в АФК" -44444 Actor.StorePos($PLAYER_ACTOR, 21@, 25@, 30@) 02CE: 30@ = ground_z_at 21@ 25@ 999.0 Actor.PutAt($PLAYER_ACTOR, 21@, 25@, 30@) 0@ = 0 if Actor.Driving($PLAYER_ACTOR) else_jump @Noname_918 099A: set_car 12@ collision_detection 1 Car.RemoveReferences(12@) :Noname_918 jump @Noname_1027 :Noname_925 chatmsg "Жертва мертва" -47181 Actor.StorePos($PLAYER_ACTOR, 21@, 25@, 30@) 02CE: 30@ = ground_z_at 21@ 25@ 999.0 Actor.PutAt($PLAYER_ACTOR, 21@, 25@, 30@) 0@ = 0 if Actor.Driving($PLAYER_ACTOR) else_jump @Noname_1027 099A: set_car 12@ collision_detection 1 Car.RemoveReferences(12@) :Noname_1027 jump @Noname_1100 :Noname_1034 chatmsg "Для использования скрипта вы должны быть в машине" -58712 0@ = 0 :Noname_1100 jump @Noname_1236 :Noname_1107 chatmsg "Жертва вне зоны прорисовки/не существует" -41957 Actor.StorePos($PLAYER_ACTOR, 21@, 25@, 30@) 02CE: 30@ = ground_z_at 21@ 25@ 999.0 Actor.PutAt($PLAYER_ACTOR, 21@, 25@, 30@) 0@ = 0 if Actor.Driving($PLAYER_ACTOR) else_jump @Noname_1236 099A: set_car 12@ collision_detection 1 Car.RemoveReferences(12@) :Noname_1236 jump @Noname_1277 :Noname_1243 chatmsg "/mind [id player]" -55817 0@ = 0 :Noname_1277 if 22@ == 1 else_jump @Noname_2778 SAMP.IsCommandTyped(1@) if 0AD4: 2@ = scan_string 1@ format "%d" 1@ else_jump @Noname_2735 if SAMP.IsPlayerConnected(1@) else_jump @Noname_2608 if not SAMP.IsPlayerPaused(1@) else_jump @Noname_2509 3@ = SAMP.GetActorHandleByPlayerID(1@) if not Actor.Dead(3@) else_jump @Noname_2409 if not Actor.Dead($PLAYER_ACTOR) else_jump @Noname_2334 if not Actor.Driving($PLAYER_ACTOR) else_jump @Noname_1430 SAMP.SendEnterVehicle(10@, 0) 072A: put_actor $PLAYER_ACTOR into_car 12@ driverseat :Noname_1430 if Actor.Driving($PLAYER_ACTOR) else_jump @Noname_2327 if 14@ == 0 else_jump @Noname_1548 04C4: store_coords_to 13@ 15@ 18@ from_actor 3@ with_offset 0.0 0.0 -1.0 04C4: store_coords_to 4@ 5@ 6@ from_actor 3@ with_offset 0.0 -1.0 -4.0 Actor.PutAt($PLAYER_ACTOR, 4@, 5@, 6@) wait 250 14@ = 1 :Noname_1548 04C4: store_coords_to 7@ 8@ 9@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 050A: 19@ = distance_between_XYZ 13@ 15@ 18@ and_XYZ 7@ 8@ 9@ if not 19@ > 150.0 else_jump @Noname_2237 if Actor.Driving(3@) else_jump @Noname_1688 04C4: store_coords_to 4@ 5@ 6@ from_actor 3@ with_offset 0.0 -0.2 -1.0 0208: 20@ = random_float_in_ranges -1.3 -1.0 jump @Noname_1740 :Noname_1688 04C4: store_coords_to 4@ 5@ 6@ from_actor 3@ with_offset 0.0 -0.2 -1.0 0208: 20@ = random_float_in_ranges -8.0 -6.0 005B: 6@ += 20@ // (float) :Noname_1740 04C4: store_coords_to 21@ 25@ 30@ from_actor 3@ with_offset 0.0 0.0 0.0 0208: 20@ = random_float_in_ranges -2.0 -1.6 005B: 30@ += 20@ // (float) call @Noname_2899 3 21@ 25@ 30@ Actor.PutAt($PLAYER_ACTOR, 4@, 5@, 6@) 099A: set_car 12@ collision_detection 0 04C4: store_coords_to 7@ 8@ 9@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 04C4: store_coords_to 4@ 5@ 6@ from_actor 3@ with_offset 0.0 0.0 -2.5 0063: 4@ -= 7@ // (float) 0063: 5@ -= 8@ // (float) 0604: get_Z_angle_for_point 4@ 5@ store_to 17@ Car.Angle(12@) = 17@ 02E3: 11@ = car 12@ speed 11@ = 0 11@ += 85.0 Car.SetSpeedInstantly(12@, 11@) if and 33@ > 6200 not 33@ >= 7500 else_jump @Noname_2151 if 16@ == 2 else_jump @Noname_2038 22@ = 0 33@ = 0 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 23@ 24@ 26@ jump @Noname_2139 :Noname_2038 Actor.StorePos($PLAYER_ACTOR, 21@, 25@, 30@) 02CE: 30@ = ground_z_at 21@ 25@ 999.0 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 21@ 25@ 30@ chatmsg "end" -37169 33@ = 13127 32@ = 0 04C4: store_coords_to 4@ 5@ 6@ from_actor 3@ with_offset 0.0 -1.0 -4.0 :Noname_2139 16@ = 2 wait 250 :Noname_2151 if 32@ > 6200 else_jump @Noname_2230 099A: set_car 12@ collision_detection 1 Car.RemoveReferences(12@) 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 23@ 24@ 26@ chatmsg "end" -37169 22@ = 0 16@ = 2 33@ = 0 :Noname_2230 jump @Noname_2327 :Noname_2237 Actor.StorePos($PLAYER_ACTOR, 21@, 25@, 30@) 02CE: 30@ = ground_z_at 21@ 25@ 999.0 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 21@ 25@ 30@ wait 200 04C4: store_coords_to 13@ 15@ 18@ from_actor 3@ with_offset 0.0 0.0 -1.0 chatmsg "ok" -48171 :Noname_2327 jump @Noname_2402 :Noname_2334 chatmsg "Вы мертвы" -93817 22@ = 0 1@ = 0 33@ = 0 if Actor.Driving($PLAYER_ACTOR) else_jump @Noname_2402 099A: set_car 12@ collision_detection 1 Car.RemoveReferences(12@) :Noname_2402 jump @Noname_2502 :Noname_2409 chatmsg "Жертва мертва" -58718 22@ = 0 33@ = 0 1@ = 0 if Actor.Driving($PLAYER_ACTOR) else_jump @Noname_2502 099A: set_car 12@ collision_detection 1 Car.RemoveReferences(12@) 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 23@ 24@ 26@ 22@ = 0 :Noname_2502 jump @Noname_2601 :Noname_2509 chatmsg "Жертва в АФК" -84162 22@ = 0 33@ = 0 1@ = 0 if Actor.Driving($PLAYER_ACTOR) else_jump @Noname_2601 099A: set_car 12@ collision_detection 1 Car.RemoveReferences(12@) 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 23@ 24@ 26@ 22@ = 0 :Noname_2601 jump @Noname_2728 :Noname_2608 chatmsg "Жертва не существует/вне зоны прорисовки" -75917 33@ = 0 22@ = 0 1@ = 0 if Actor.Driving($PLAYER_ACTOR) else_jump @Noname_2728 099A: set_car 12@ collision_detection 1 Car.RemoveReferences(12@) 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 23@ 24@ 26@ 22@ = 0 :Noname_2728 jump @Noname_2778 :Noname_2735 chatmsg "/kicker [id player]" -84716 22@ = 0 1@ = 0 :Noname_2778 if and 16@ == 2 22@ == 0 else_jump @Noname_2892 1@ = 30 printf "%d" 1000 1@ wait 1000 :Noname_2828 1@ > 0 else_jump @Noname_2892 wait 0 1@ -= 1 printf "%d" 1000 1@ wait 1000 18@ = 0 16@ = 0 jump @Noname_2828 :Noname_2892 jump @Noname_67 :Noname_2899 3@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR) 3@ = SAMP.GetPlayerStruct(3@) 3@ += 170 alloc 4@ 67 0C10: memcpy destination 4@ source 3@ size 67 0C0D: struct 4@ offset 24 size 4 = 0@ 0C0D: struct 4@ offset 28 size 4 = 1@ 0C0D: struct 4@ offset 32 size 4 = 2@ 5@ = RakNet.NewBitStream() BitStream.Write(5@, 200, BS_TYPE_BYTE, 1) BitStream.Write(5@, 4@, BS_TYPE_ARRAY, 67) RakNet.LiteSend(5@) RakNet.DeleteBitStream(5@) free 4@ ret 0 :Noname_3025 0@ = 1 14@ = 0 chatmsg "mind включён" -74616 SAMP.CmdRet Actor.StorePos($PLAYER_ACTOR, 21@, 25@, 30@) 02CE: 30@ = ground_z_at 21@ 25@ 999.0 Actor.PutAt($PLAYER_ACTOR, 21@, 25@, 30@) chatmsg "mind выключен" -93175 SAMP.CmdRet :Noname_3132 chatmsg "Нету ближайших открытых машин" -31756 SAMP.CmdRet :Noname_3171 if and 1@ > 0 not 1@ >= 50 else_jump @Noname_3230 chatmsg "Подождите %d секунд" -48174 1@ SAMP.CmdRet :Noname_3230 10@ = 2000 :Noname_3238 12@ = SAMP.GetVehicleHandleBySAMPVehicleID(10@) if 056E: car 12@ defined else_jump @Noname_3643 if or Car.Model(12@) == #WALTON Car.Model(12@) == #MAVERICK Car.Model(12@) == #CARGOBOB Car.Model(12@) == #ARTICT2 Car.Model(12@) == #ARTICT1 Car.Model(12@) == #ARTICT3 else_jump @Noname_3335 jump @Noname_3643 jump @Noname_3643 :Noname_3335 if or Car.Model(12@) == #FAGGIO Car.Model(12@) == #NRG500 Car.Model(12@) == #FCR900 Car.Model(12@) == #PCJ600 Car.Model(12@) == #FREEWAY Car.Model(12@) == #SANCHEZ Car.Model(12@) == #FCR900 Car.Model(12@) == #BIKE else_jump @Noname_3424 jump @Noname_3643 jump @Noname_3643 :Noname_3424 09B3: get_car 12@ door_status 4@ 5@ = Car.Health(12@) 046C: 3@ = car 12@ driver 0407: store_coords_to 7@ 8@ 9@ from_car 12@ with_offset 0.0 0.0 -1.0 04C4: store_coords_to 21@ 25@ 30@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 0509: 26@ = distance_between_XY 7@ 8@ and_XY 21@ 25@ if and 4@ == 0 not 5@ == 0 856D: not actor 3@ defined not 26@ >= 110.0 else_jump @Noname_3643 33@ = 0 32@ = 0 18@ = 0 16@ += 1 14@ = 0 22@ = 1 04C4: store_coords_to 23@ 24@ 26@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 0BE3: raknet setup_incoming_rpc_hook -3675 SAMP.CmdRet :Noname_3643 10@ -= 1 if 10@ == 0 else_jump @Noname_3238 jump @Noname_3132 0BE5: raknet 27@ = get_hook_param 1 27@ == 71 else_jump @Noname_3700 0BE0: raknet hook_ret 0 :Noname_3700 0BE0: raknet hook_ret 1 chatmsg "------------ ===== ---------------" -18471 chatmsg "/mind [id player] - Автокикер" -47165 chatmsg "/mindq - аварийное выключение кикера с ног" 84716 chatmsg "/gif [id player] - кикер с ног" -93125 chatmsg "/gifq - аварийное выключение кикера с ног" -23187 chatmsg "/ogranich - включить анти-ограничитель" -51268 chatmsg "/ogranichq - выключить ограничитель" -51791 chatmsg "/gifd - второй режим кикера с ног" -13817 chatmsg "------------ ===== ---------------" -18471 SAMP.CmdRet
https://vk.com/zatkap
Basho
Дата: Среда, 12.10.2016, 22:04 | Сообщение # 4012
Новичок
Сообщений: 2
Статус: Offline
Вопрос: Может кто написать бота для ОЗ на ДРП, чтобы при надписи "вы взяли заготовку" он бежал к столу, а если "на столе нет заготовок" он бежал к другому столу и брал там и тд.
ilyxa006
Дата: Суббота, 22.10.2016, 21:15 | Сообщение # 4013
Новичок
Сообщений: 3
Статус: Offline
Вопрос:Может кто написать улучшения для ЛСПД?
Vampir327
Дата: Суббота, 22.10.2016, 22:17 | Сообщение # 4014
Новичок
Сообщений: 1
Статус: Offline
Вопрос: Есть такой опкод 018C: play_sound 1084 at 0.0 0.0 0.0 Нужен список ID звуков для этого опкода (в примере id звука стоит 1084, нужно заменить)
Max_Kaktyc
Дата: Понедельник, 31.10.2016, 20:37 | Сообщение # 4015
Новичок
Сообщений: 22
Статус: Offline
Вопрос: как убрать дату из hnnssy date and time.csКод
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} //-------------MAIN--------------- thread "hnnssytm" 0662: printstring "time" :HNNSSYTM_20 wait 0 if 8AE4: not directory_exists "Cleo\INI" else_jump @HNNSSYTM_59 0AE5: create_directory "Cleo\INI" // IF and SET :HNNSSYTM_59 if 0AAB: file_exists "CLEO\INI\timedata.ini" else_jump @HNNSSYTM_442 0AF2: 12@ = get_float_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "PosX" 0AF2: 13@ = get_float_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "PosY" 0AF0: 14@ = get_int_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ColR" 0AF0: 15@ = get_int_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ColG" 0AF0: 16@ = get_int_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ColB" 0AF2: 17@ = get_float_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ScaleX" 0AF2: 18@ = get_float_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ScaleY" 0AF0: 19@ = get_int_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "Font" jump @HNNSSYTM_789 :HNNSSYTM_442 0AF3: write_float 60.0 to_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "PosX" 0AF3: write_float 145.0 to_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "PosY" 0AF3: write_float 0.3 to_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ScaleX" 0AF3: write_float 0.7 to_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ScaleY" 0AF1: write_int 187 to_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ColR" 0AF1: write_int 187 to_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ColG" 0AF1: write_int 187 to_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ColB" 0AF1: write_int 1 to_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "Font" :HNNSSYTM_789 wait 0 0AF2: 12@ = get_float_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "PosX" 0AF2: 13@ = get_float_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "PosY" 0AF0: 14@ = get_int_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ColR" 0AF0: 15@ = get_int_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ColG" 0AF0: 16@ = get_int_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ColB" 0AF2: 17@ = get_float_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ScaleX" 0AF2: 18@ = get_float_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "ScaleY" 0AF0: 19@ = get_int_from_ini_file "CLEO\INI\timedata.ini" section "hnnssy" key "Font" 03F0: enable_text_draw 1 0AC8: 1@ = allocate_memory_size 256 0AB1: call_scm_func @HNNSSYTM_1357 0 3@ 4@ 5@ 6@ 7@ 8@ 9@ 10@ 0AD3: 1@ = format "[%d.%d.%d %.2d:%.2d:%.2d]" 6@ 4@ 3@ 7@ 8@ 9@ 0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED009' 2@ 0AA5: call 7439872 num_params 2 pop 2 2@ 1@ 033F: set_text_draw_letter_size 17@ 18@ 0340: set_text_draw_RGBA 14@ 15@ 16@ 255 0349: set_text_draw_font 19@ 060D: draw_text_shadow 1 rgba 0 0 0 255 0342: set_text_draw_centered 1 033E: set_draw_text_position 12@ 13@ GXT 'CRED009' // Alexander Roger 0AC9: free_allocated_memory 1@ jump @HNNSSYTM_789 jump @HNNSSYTM_20 :HNNSSYTM_1357 0AA2: 0@ = load_library "kernel32.dll" // IF and SET 0AA4: 1@ = get_proc_address "GetLocalTime" library 0@ // IF and SET 0AC8: 2@ = allocate_memory_size 32 0AA5: call 1@ num_params 1 pop 0 2@ 0A8D: 3@ = read_memory 2@ size 2 virtual_protect 0 2@ += 2 0A8D: 4@ = read_memory 2@ size 2 virtual_protect 0 2@ += 2 0A8D: 5@ = read_memory 2@ size 2 virtual_protect 0 2@ += 2 0A8D: 6@ = read_memory 2@ size 2 virtual_protect 0 2@ += 2 0A8D: 7@ = read_memory 2@ size 2 virtual_protect 0 2@ += 2 0A8D: 8@ = read_memory 2@ size 2 virtual_protect 0 2@ += 2 0A8D: 9@ = read_memory 2@ size 2 virtual_protect 0 2@ += 2 0A8D: 10@ = read_memory 2@ size 2 virtual_protect 0 2@ -= 30 0AB2: ret 8 3@ 4@ 5@ 6@ 7@ 8@ 9@ 10@
kekcuk665
Дата: Вторник, 01.11.2016, 16:04 | Сообщение # 4016
Новичок
Сообщений: 1
Статус: Offline
Вопрос: Проблема такова, пишу /av и ид игрока который должен будет прописаться в строке /reply тут его id, но срабатывает только на иды с 1 по 9, а остальные пишет, что игрок не найден, как исправить чтобы работало на все иды.
Alllss
Дата: Вторник, 01.11.2016, 20:54 | Сообщение # 4017
Боец
Сообщений: 67
Статус: Offline
Цитата kekcuk665 (
)
Проблема такова
Как я понял тебе нужно что бы после ввода твоей команды, отправляло команду серверу с ником игрока? Если да то вот кодКод
repeat wait 0 until 0AFA: is_samp_available 0B34: samp register_client_command "av" to_label @aav 0BDE: pause_thread 0 :aav 0B35: samp 0@ = get_last_command_params if 0AD4: 1@ = scan_string 0@ format "%d" 2@ //IF and SET then if 0B23: samp is_player_connected 2@ then 0B36: samp 3@ = get_player_nickname 2@ 0AF9: samp say_msg "/reply %s" 3@ else 0AF8: samp add_message_to_chat "игрок с ид %d не подключен" color -1 2@ end else 0AF8: samp add_message_to_chat "используйте /av [id player]" color -1 2@ end 0B43: samp cmd_ret
RufOn
Дата: Вторник, 22.11.2016, 21:32 | Сообщение # 4018
Новичок
Сообщений: 1
Статус: Offline
У меня не работает программа Key Cоnverter, выдаёт ошибку "Class not registered. You need the following file to be intallet on your machine. MSSTDFMT.DLL." У меня Windows 7 (32). Может есть другой конвертер ASCII кодов? нужны коды всех цыфр, в том числе Num падов, заранее спасибо!
Сообщение отредактировал RufOn - Вторник, 22.11.2016, 22:07
Lovechiti
Дата: Суббота, 31.12.2016, 14:10 | Сообщение # 4019
Новичок
Сообщений: 24
Статус: Offline
Вопрос: есть такой клео что бы с помощью лса на фуре можно былло двоить склад банды?жду ответа срочно, я видел как ребята на лса грузили фуру бесконечно и и все материалы уходили на склад банды, это баг или же есть такой клео?прошу дайте ответа
Сообщение отредактировал Lovechiti - Суббота, 31.12.2016, 14:11
GGGEEETTT
Дата: Вторник, 03.01.2017, 15:26 | Сообщение # 4020
Новичок
Сообщений: 4
Статус: Offline
Вопрос: Дайте пожалуйста клео для езды по воздуху с открытым исходным кодом или его исходный код.