перемещение кнопки гаража, чтоб достать Бензовоз и Автобус.

  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    6
     #
    пакет "Бензовоз и Автобус" в гараже, качайте: yadi.sk/d/WljVqq9ebqi8n
    установка: "cnt_trucks_pack" вставляем в ProgramFiles/Mafia II/pc/dlcs/.
    trucks pack



    установите инжектор,
    чтоб достать "Автобус и Бензовоз" переместите кнопку гаража "Открыть гараж".
    скрипт купируйте в файлы F1.lua, F2.lua, F3.lua, F4.lua,
    путь: Program Files\ Mafia II\ pc\ userscript\ F1.lua, ... F12.lua.
    -----------------------------------------

    -- скрипт перемещение кнопки гаража, дом Вито в Гринфилде.
    DelayBuffer:Insert(
    function(l_1_0)
    player, V = game.game:GetActivePlayer(), game.entitywrapper
    garageVector = Math:newVector()
    garageVector.x = -1314.3
    garageVector.y = 1006.2
    garageVector.z = -18.6
    V:GetEntityByName( "Garage_Vito_house_B12"):SetPos(garageVector)
    player:SetDemigod(true) ------------------
    player:EnableInjury(false) -- бесмертие
    player.invulnerability = true ------------
    V:GetEntityByName( "EntryDoor"):EnableAction()
    end,{},1,1,false)

    -- скрипт перемещение кнопки гаража, дом Джо в Маленькой Италии.
    DelayBuffer:Insert(
    function(l_1_0)
    player, V = game.game:GetActivePlayer(), game.entitywrapper
    garageVector = Math:newVector()
    garageVector.x = 71
    garageVector.y = 919.6
    garageVector.z = -20
    V:GetEntityByName( "GarageJoesFlat"):SetPos(garageVector)
    player:SetDemigod(true) ------------------
    player:EnableInjury(false) -- бесмертие
    player.invulnerability = true ------------
    V:GetEntityByName( "JF_entry_door01"):EnableAction()
    V:GetEntityByName( "JF_metaldoor00"):EnableAction()
    end,{},1,1,false)

    -- скрипт перемещение кнопки гаража, дом Вито в Аптауне.
    DelayBuffer:Insert(
    function(l_1_0)
    player, V = game.game:GetActivePlayer(), game.entitywrapper
    garageVector = Math:newVector()
    garageVector.x = -636.05462646484
    garageVector.y = 943.91723632813
    garageVector.z = -18.633325576782
    V:GetEntityByName( "Garage00"):SetPos(garageVector)
    player:SetDemigod(true) ------------------
    player:EnableInjury(false) -- бесмертие
    player.invulnerability = true ------------
    V:GetEntityByName( "99_vito_A3_vstup_dum"):EnableAction()
    end,{},1,1,false)

    -- скрипт перемещение кнопки гаража, дом Марти в Ойстер-Бэе.
    DelayBuffer:Insert(
    function(l_1_0)
    player, V = game.game:GetActivePlayer(), game.entitywrapper
    garageVector = Math:newVector()
    garageVector.x = 366.04830932617
    garageVector.y = -278.5078125
    garageVector.z = -20.179666519165
    V:GetEntityByName( "Garage00"):SetPos(garageVector)
    player:SetDemigod(true) ------------------
    player:EnableInjury(false) -- бесмертие
    player.invulnerability = true ------------
    V:GetEntityByName( "Vito_A1_door_VSTUP"):EnableAction()
    end,{},1,1,false)

    скриншоты




  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    3
     #
    путь: ProgramFiles/Mafia II/pc/userscript/F1.lua
    открываем файл "F1.lua" с помощью блокнота и скопируем скрипт
    вы можете копировать скрипт и на F2.lua-F12.lua
    запускаем игру и выбираем главу или фрирайд
    чтоб сварачивать игру нажимаем на клавишу "windows"
    сварачиваем игру и запускаем инжектор: ProgramFiles/Mafia II/pc/MafiaInjector.exe
    заходим в игру и подходим к выбранному гаражу нажимаем клавишу "F1"
  • Илька2000
    Статус: оффлайн
    1
     #
    JackSnow
    А все скрипты одновременно можно использовать?
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    2
     #
    Илька2000
    да, можно использовать одновременно.
    скопируй в файл F1.lua, F2.lua, F3.lua, F4.lua, с помощью блокнота.
    и подходи к выбранному гаражу на пример нажимаем "F1", дом Вито в Гринфилде.
    нажимаем кнопку только возле гаража, ты видео смотрел ?.
    скриншот "как копировать".
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    2
     #
    -- скрипт чтоб увеличить количество людей и машин в трафике.
    DelayBuffer:Insert(
    function(l_1_0)
    gt = game.traffic
    gt:Populate(100)
    end,{},1,1,false)
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    2
     #
    скрипт стрелять для Джо. активировать скрипт в присутствии Джо.

    -- Shoot At.
    DelayBuffer:Insert(
    function(l_1_0)
    npc1 = game.entitywrapper:GetEntityByName("Joe")
    npc1:InventoryRemoveWeapon(4)
    npc1:InventoryRemoveWeapon(5)
    npc1:InventoryRemoveWeapon(6)
    npc1:InventoryRemoveWeapon(8)
    npc1:InventoryRemoveWeapon(9)
    npc1:InventoryRemoveWeapon(11)
    npc1:InventoryAddWeapon(13, 120)
    npc1:InventoryAddWeapon(14, 500)
    npc1:InventoryAddWeapon(15, 16)
    npc1:InventoryAddWeapon(17, 10)
    npc1:InventorySelect(27, true)
    player = game.game:GetActivePlayer()
    offset = Math:newVector()
    offset.x = 0
    offset.y = 0
    offset.z = 1.2
    npc1:ShootAt(player, offset, 30000)
    end,{},1,1,false)

    ----------------------------------

    -- скрипт паника для ГГ.
    DelayBuffer:Insert(
    function(l_1_0)
    player = game.game:GetActivePlayer()
    player:LockControls(true)
    player:PanicCrouch(true)
    player:LockControls(false)
    end,{},1,1,false)

    -- анимация курение, работает в порту, работает летом и зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_man_pipe_in", f)end,
    function(l_3_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_4_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_5_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_6_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_7_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_8_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_9_0)return P:AnimPlay( "sc_man_pipe_stat_a", f)end,
    function(l_10_0)return P:AnimPlay( "sc_man_pipe_stat_b", f)end,
    function(l_11_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_12_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_13_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_14_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_15_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_16_0)return P:AnimPlay( "sc_man_pipe_breath", f)end,
    function(l_17_0)return P:AnimPlay( "sc_man_pipe_stat_a", f)end,
    function(l_18_0)return P:AnimPlay( "sc_man_pipe_stat_b", f)end,
    function(l_19_0)return P:AnimPlay( "sc_man_pipe_out", f)end,
    function(l_20_0)return P:ModelToMouth(-1) end,
    function(l_21_0)return P:ModelToHands(-1, 0, 0) end,
    function(l_22_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация закручивать колёса, работает летом и зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_wheel_in", f)end,
    function(l_3_0)return P:AnimPlay( "sc_wheel_stat", f)end,
    function(l_4_0)return P:AnimPlay( "sc_wheel_mount_in", f)end,
    function(l_5_0)return P:AnimPlay( "sc_wheel_mount_loop", f)end,
    function(l_6_0)return P:AnimPlay( "sc_wheel_mount_loop", f)end,
    function(l_7_0)return P:AnimPlay( "sc_wheel_mount_loop", f)end,
    function(l_8_0)return P:AnimPlay( "sc_wheel_mount_loop", f)end,
    function(l_9_0)return P:AnimPlay( "sc_wheel_mount_out", f)end,
    function(l_10_0)return P:AnimPlay( "sc_wheel_stat", f)end,
    function(l_11_0)return P:AnimPlay( "sc_wheel_out", f)end,
    function(l_12_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация курение, работает летом и зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_man_smoke_in", f)end,
    function(l_3_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_4_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_5_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_6_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_7_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_8_0)return P:AnimPlay( "sc_man_smoke_stat_b", f)end,
    function(l_9_0)return P:AnimPlay( "sc_man_smoke_stat_c", f)end,
    function(l_10_0)return P:AnimPlay( "sc_man_smoke_stat_d", f)end,
    function(l_11_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_12_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_13_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_14_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_15_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_16_0)return P:AnimPlay( "sc_man_smoke_stat_b", f)end,
    function(l_17_0)return P:AnimPlay( "sc_man_smoke_stat_c", f)end,
    function(l_18_0)return P:AnimPlay( "sc_man_smoke_stat_d", f)end,
    function(l_19_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_20_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_21_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_22_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_23_0)return P:AnimPlay( "sc_man_smoke_stat_a", f)end,
    function(l_24_0)return P:AnimPlay( "sc_man_smoke_stat_b", f)end,
    function(l_25_0)return P:AnimPlay( "sc_man_smoke_stat_c", f)end,
    function(l_26_0)return P:AnimPlay( "sc_man_smoke_stat_d", f)end,
    function(l_27_0)return P:AnimPlay( "sc_man_smoke_out", f)end,
    function(l_28_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация читать газету, работает летом и зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:InventoryAddItem(103)
    P:InventorySelect(103, f) end,
    function(l_2_0)return P:LockControls(t) end,
    function(l_3_0)return P:AnimPlay( "sc_newspaper_in", f)end,
    function(l_4_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_5_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_6_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_7_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_8_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_9_0)return P:AnimPlay( "sc_newspaper_stat_b", f)end,
    function(l_10_0)return P:AnimPlay( "sc_newspaper_look_around", f)end,
    function(l_11_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_12_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_13_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_14_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_15_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_16_0)return P:AnimPlay( "sc_newspaper_stat_b", f)end,
    function(l_17_0)return P:AnimPlay( "sc_newspaper_look_around", f)end,
    function(l_18_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_19_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_20_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_21_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_22_0)return P:AnimPlay( "sc_newspaper_stat_a", f)end,
    function(l_23_0)return P:AnimPlay( "sc_newspaper_stat_b", f)end,
    function(l_24_0)return P:AnimPlay( "sc_newspaper_look_around", f)end,
    function(l_25_0)return P:AnimPlay( "sc_newspaper_out", f)end,
    function(l_26_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация копать, работает летом и зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:ModelToHands(t, 0, 34)
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_shovel_coal_stat", f)end,
    function(l_3_0)return P:AnimPlay( "sc_shovel_in_coal", f)end,
    function(l_4_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_5_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_6_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_7_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_8_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_9_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_10_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_11_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_12_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_13_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_14_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_15_0)return P:AnimPlay( "sc_shovel_coal_loop", f)end,
    function(l_16_0)return P:AnimPlay( "sc_shovel_out_coal", f)end,
    function(l_17_0)return P:ModelToHands(-1, 0, 0) end,
    function(l_18_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация убирать снег, работает зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:ModelToHands(t, 0, 35)
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_shovel_snow_stat", f)end,
    function(l_3_0)return P:AnimPlay( "sc_shovel_in_snow", f)end,
    function(l_4_0)return P:AnimPlay( "sc_shovel_snow_loop", f)end,
    function(l_5_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_6_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_7_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_8_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_9_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_10_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_11_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_12_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_13_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_14_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_15_0)return P:AnimPlay( "sc_shovel_strafe_snow_L", f)end,
    function(l_16_0)return P:AnimPlay( "sc_shovel_snow_loop", f)end,
    function(l_17_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_18_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_19_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_20_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_21_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_22_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_23_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_24_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_25_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_26_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_27_0)return P:AnimPlay( "sc_shovel_strafe_snow_R", f)end,
    function(l_28_0)return P:AnimPlay( "sc_shovel_out_snow", f)end,
    function(l_29_0)return P:ModelToHands(-1, 0, 0) end,
    function(l_30_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация рыбалка, работает летом.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:InventoryAddItem(101)
    P:InventorySelect(117, f) end,
    function(l_2_0)return P:LockControls(t) end,
    function(l_3_0)return P:AnimPlay( "sc_fishing_throw", f)end,
    function(l_4_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_5_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_6_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_7_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_8_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_9_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_10_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_11_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_12_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_13_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_14_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_15_0)return P:AnimPlay( "sc_fishing_catch", f)end,
    function(l_16_0)return P:AnimPlay( "sc_fishing_throw", f)end,
    function(l_17_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_18_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_19_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_20_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_21_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_22_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_23_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_24_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_25_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_26_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_27_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_28_0)return P:AnimPlay( "sc_fishing_catch", f)end,
    function(l_29_0)return P:AnimPlay( "sc_fishing_throw", f)end,
    function(l_30_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_31_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_32_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_33_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_34_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_35_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_36_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_37_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_38_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_39_0)return P:AnimPlay( "sc_fishing_stat", f)end,
    function(l_40_0)return P:AnimPlay( "sc_fishing_catch", f)end,
    function(l_41_0)return P:InventoryDrop() end,
    function(l_42_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация курение №3, работает летом и зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_3_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_4_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_5_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_6_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_7_0)return P:AnimPlay( "sc_city_man_wall_smoke_loop1", f)end,
    function(l_8_0)return P:AnimPlay( "sc_city_man_wall_smoke_loop2", f)end,
    function(l_9_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_10_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_11_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_12_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_13_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_14_0)return P:AnimPlay( "sc_city_man_wall_smoke_loop1", f)end,
    function(l_15_0)return P:AnimPlay( "sc_city_man_wall_smoke_loop2", f)end,
    function(l_16_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_17_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_18_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_19_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_20_0)return P:AnimPlay( "sc_city_man_wall_smoke_stat", f)end,
    function(l_21_0)return P:AnimPlay( "sc_city_man_wall_smoke_loop1", f)end,
    function(l_22_0)return P:AnimPlay( "sc_city_man_wall_smoke_loop2", f)end,
    function(l_23_0)return P:ModelToHands(-1, 0, 0) end,
    function(l_24_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация бомж копается в мусорке, работает летом и зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_homeless_6_in", f)end,
    function(l_3_0)return P:AnimPlay( "sc_homeless_6_a", f)end,
    function(l_4_0)return P:AnimPlay( "sc_homeless_6_b", f)end,
    function(l_5_0)return P:AnimPlay( "sc_homeless_6_out", f)end,
    function(l_6_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация бомж греет руки №1, работает зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_homesles_1_in", f)end,
    function(l_3_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_4_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_5_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_6_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_7_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_8_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_9_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_10_0)return P:AnimPlay( "sc_homesles_1_b", f)end,
    function(l_11_0)return P:AnimPlay( "sc_homesles_1_c", f)end,
    function(l_12_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_13_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_14_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_15_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_16_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_17_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_18_0)return P:AnimPlay( "sc_homesles_1_a", f)end,
    function(l_19_0)return P:AnimPlay( "sc_homesles_1_b", f)end,
    function(l_20_0)return P:AnimPlay( "sc_homesles_1_c", f)end,
    function(l_21_0)return P:AnimPlay( "sc_homesles_1_out", f)end,
    function(l_22_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация бомж греет руки №2, работает зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_homeles_2_in", f)end,
    function(l_3_0)return P:AnimPlay( "sc_homeles_2_a", f)end,
    function(l_4_0)return P:AnimPlay( "sc_homeles_2_a", f)end,
    function(l_5_0)return P:AnimPlay( "sc_homeles_2_a", f)end,
    function(l_6_0)return P:AnimPlay( "sc_homeles_2_a", f)end,
    function(l_7_0)return P:AnimPlay( "sc_homeles_2_a", f)end,
    function(l_8_0)return P:AnimPlay( "sc_homeles_2_b", f)end,
    function(l_9_0)return P:AnimPlay( "sc_homeles_2_d", f)end,
    function(l_10_0)return P:AnimPlay( "sc_homeles_2_e", f)end,
    function(l_11_0)return P:AnimPlay( "sc_homeles_2_out", f)end,
    function(l_12_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация бомж лежит, работает летом и зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_homeles_4_in", f)end,
    function(l_3_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_4_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_5_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_6_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_7_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_8_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_9_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_10_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_11_0)return P:AnimPlay( "sc_homeles_4_b", f)end,
    function(l_12_0)return P:AnimPlay( "sc_homeles_4_e", f)end,
    function(l_13_0)return P:AnimPlay( "sc_homeles_4_e", f)end,
    function(l_14_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_15_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_16_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_17_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_18_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_19_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_20_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_21_0)return P:AnimPlay( "sc_homeles_4_a", f)end,
    function(l_22_0)return P:AnimPlay( "sc_homeles_4_b", f)end,
    function(l_23_0)return P:AnimPlay( "sc_homeles_4_e", f)end,
    function(l_24_0)return P:AnimPlay( "sc_homeles_4_e", f)end,
    function(l_25_0)return P:AnimPlay( "sc_homeles_4_out", f)end,
    function(l_26_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация посидеть покурить, работает летом и зимой.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:SetPhysState(enums.PhysicsState.KINEMATIC) end,
    function(l_3_0)return P:AnimPlay( "sc_sit_bench4_in", f)end,
    function(l_4_0)return P:AnimPlay( "sc_sit_bench4_smoke_in", f)end,
    function(l_5_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_6_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_7_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_8_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_9_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_10_0)return P:AnimPlay( "sc_sit_bench4_smoke_a", f)end,
    function(l_11_0)return P:AnimPlay( "sc_sit_bench4_smoke_b", f)end,
    function(l_12_0)return P:AnimPlay( "sc_sit_bench4_smoke_c", f)end,
    function(l_13_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_14_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_15_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_16_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_17_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_18_0)return P:AnimPlay( "sc_sit_bench4_smoke_a", f)end,
    function(l_19_0)return P:AnimPlay( "sc_sit_bench4_smoke_b", f)end,
    function(l_20_0)return P:AnimPlay( "sc_sit_bench4_smoke_c", f)end,
    function(l_21_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_22_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_23_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_24_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_25_0)return P:AnimPlay( "sc_sit_bench4_smoke_stat", f)end,
    function(l_26_0)return P:AnimPlay( "sc_sit_bench4_smoke_a", f)end,
    function(l_27_0)return P:AnimPlay( "sc_sit_bench4_smoke_b", f)end,
    function(l_28_0)return P:AnimPlay( "sc_sit_bench4_smoke_c", f)end,
    function(l_29_0)return P:AnimPlay( "sc_sit_bench4_smoke_out", f)end,
    function(l_30_0)return P:AnimPlay( "sc_sit_bench4_out", f)end,
    function(l_31_0)return P:SetPhysState(enums.PhysicsState.DYNAMIC) end,
    function(l_32_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    2
     #
    глава 9_ая, анимация работает на скотобойне.

    -- курение держа в руках автомат.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:InventoryAddWeapon(11, 200)
    P:InventorySelect(21, f) end,
    function(l_2_0)return P:LockControls(t) end,
    function(l_3_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_in", f)end,
    function(l_4_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_look", f)end,
    function(l_5_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_smoke", f)end,
    function(l_6_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_potter", f)end,
    function(l_7_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_look", f)end,
    function(l_8_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_smoke", f)end,
    function(l_9_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_potter", f)end,
    function(l_10_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_look", f)end,
    function(l_11_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_smoke", f)end,
    function(l_12_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_potter", f)end,
    function(l_13_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_look", f)end,
    function(l_14_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_smoke", f)end,
    function(l_15_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_potter", f)end,
    function(l_16_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_look", f)end,
    function(l_17_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_smoke", f)end,
    function(l_18_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_potter", f)end,
    function(l_19_0)return P:AnimPlay( "sc_gangster_thommy_idle_smoking_out", f)end,
    function(l_20_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- курение держа в руках дробовик.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:InventoryAddWeapon(8, 56)
    P:InventorySelect(18, f) end,
    function(l_2_0)return P:LockControls(t) end,
    function(l_3_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_in", f)end,
    function(l_4_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_look", f)end,
    function(l_5_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_stat", f)end,
    function(l_6_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_smoke", f)end,
    function(l_7_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_look", f)end,
    function(l_8_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_stat", f)end,
    function(l_9_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_smoke", f)end,
    function(l_10_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_look", f)end,
    function(l_11_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_stat", f)end,
    function(l_12_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_smoke", f)end,
    function(l_13_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_look", f)end,
    function(l_14_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_stat", f)end,
    function(l_15_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_smoke", f)end,
    function(l_16_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_look", f)end,
    function(l_17_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_stat", f)end,
    function(l_18_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_smoke", f)end,
    function(l_19_0)return P:AnimPlay( "sc_gangster_shotgun_idle_smoking_out", f)end,
    function(l_20_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- Smoking Laundry.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlay( "sc_laundry_smoke_in", f)end,
    function(l_3_0)return P:AnimPlay( "sc_laundry_smoke_aspirate1", f)end,
    function(l_4_0)return P:AnimPlay( "sc_laundry_smoke_stat", f)end,
    function(l_5_0)return P:AnimPlay( "sc_laundry_smoke_aspirate1", f)end,
    function(l_6_0)return P:AnimPlay( "sc_laundry_smoke_stat", f)end,
    function(l_7_0)return P:AnimPlay( "sc_laundry_smoke_aspirate1", f)end,
    function(l_8_0)return P:AnimPlay( "sc_laundry_smoke_stat", f)end,
    function(l_9_0)return P:AnimPlay( "sc_laundry_smoke_aspirate1", f)end,
    function(l_10_0)return P:AnimPlay( "sc_laundry_smoke_stat", f)end,
    function(l_11_0)return P:AnimPlay( "sc_laundry_smoke_aspirate1", f)end,
    function(l_12_0)return P:AnimPlay( "sc_laundry_smoke_stat", f)end,
    function(l_13_0)return P:AnimPlay( "sc_laundry_smoke_aspirate1", f)end,
    function(l_14_0)return P:AnimPlay( "sc_laundry_smoke_stat", f)end,
    function(l_15_0)return P:AnimPlay( "sc_laundry_smoke_out", f)end,
    function(l_16_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)
    -----------------------------------------
    предупреждение: после курения, игра будет закрываться с ошибкой.
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    3
     #
    скрипты драки ГГ, от 1-ой главы до 5-ой главы, атака Контер и Комбо выключены.

    -- чтоб включить атаку Контер и Комбо.
    DelayBuffer:Insert(
    function(l_1_0)
    player = game.game:GetActivePlayer()
    player:SetFightAbility(true, enums.FightAbility.COUNTER) -- встречный удар
    player:SetFightAbility(true, enums.FightAbility.COMBO) -- комбо атака
    end,{},1,1,false)

    -- чтоб выключить атаку Контер и Комбо.
    DelayBuffer:Insert(
    function(l_1_0)
    player = game.game:GetActivePlayer()
    player:SetFightAbility(false, enums.FightAbility.COUNTER) -- встречный удар
    player:SetFightAbility(false, enums.FightAbility.COMBO) -- комбо атака
    end,{},1,1,false)
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    2
     #
    Генри сам себе водитель, 11-ая глава.

    -- Henry Driving.
    DelayBuffer:Insert(
    function(l_1_0) vito, t, f = game.game:GetActivePlayer(), true, false
    henryCar = game.entitywrapper:GetEntityByName( "HenryCar")
    henryCar:SetColor(15, 17) henryCar:RepairAndClear()
    game.entitywrapper:GetEntityByName( "Henry"):GetInOutCar(henryCar, 1, f, f)
    vito:LockControls(t) vito:GetInOutCar(henryCar, 2, f, f) vito:LockControls(f)
    henryCar:DestroyController() henryCar:CreateController("car_escaper")
    henryCar:InitializeAIParams( enums.CarAIProfile.AGGRESSIVE, 0)henryCar:EscapeMode()
    henryCar:MoveTo(Math:newVector(38.364242553711, -66.090003967285, -16.936265945435), START)
    end,{},1,1,false)

    видео: yadi.sk/i/Jng52LJ3cpsQG
    лучше скачайте чтоб видео чётко было видно.
  • BananaDev
    Статус: оффлайн
    Рейтинг эксперта: 7
    0
     #
    JackSnow
    Во пригодится,отлично.
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    2
     #
    agens
    читы работают ?)
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    2
     #
    сначала установите мод для "драки":
    yadi.sk/d/4pm0CyLdcrTD9

    скрипт драки для Джо.

    -- Joe melee
    DelayBuffer:Insert(
    function(l_1_0)
    game.speech:LoadScriptDistrict("meleeitalian")
    V = game.entitywrapper joe = V:GetEntityByName("Joe")
    joe:InventoryRemoveWeapon(2) joe:InventoryRemoveWeapon(4)
    joe:InventoryRemoveWeapon(6) joe:InventoryRemoveWeapon(11)
    -- joe:SetAnimStyle("melee", "DLCJoeStyle")
    joe:MeleePreferCounter(true) -- встречный удар
    ai.police:IgnorePerson(joe:GetGuid(), true) -- чтоб копы не мешали
    ai.police:DeactivateOffence(joe:GetGuid(), true) ------------------
    mechanic = V:GetEntityByName("ResprayMechanic")
    mechanic:SetAnimStyle("melee", "KugnfuStyle") mechanic:Attack(joe)
    mechanic.invulnerability = false
    V:GetEntityByName("RS_vrata01"):Open( Math:newVector(), true)
    end,{},1,1,false)



    видео инструкция: yadi.sk/i/XmWCjVEocrTFT
    лучше скачайте, чтоб видео чётко было видно.
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    3
     #
    agens
    ты можешь передать меню через файлообменник ?)
  • Юрий Gamer2017
    Статус: оффлайн
    Рейтинг эксперта: 7
    1
     #
    JackSnow

    DelayBuffer:Insert(
    function(l_1_0)
    player, t, f = game.game:GetActivePlayer(), true, false
    player:InventoryAddMoney(1000000) -- деньги.
    player:SetDemigod(t) -- бессмертие.
    player:EnableInjury(f) --
    player.invulnerability = t --
    player.health = 1000 -- повысить здоровье
    player:InventorySetUnlimitedAmmo(t) -- бесконечные патроны
    player:InventoryAddWeapon(20, 6) -- оружие
    player:InventoryAddWeapon(2, 42) --
    player:InventoryAddWeapon(3, 60) --
    player:InventoryAddWeapon(4, 56) --
    player:InventoryAddWeapon(5, 92) --
    player:InventoryAddWeapon(6, 42) --
    player:InventoryAddWeapon(7, 6) --
    player:InventoryAddWeapon(8, 56) --
    player:InventoryAddWeapon(9, 120) --
    player:InventoryAddWeapon(10, 128) --
    player:InventoryAddWeapon(11, 200) --
    player:InventoryAddWeapon(12, 120) --
    player:InventoryAddWeapon(13, 120) --
    player:InventoryAddWeapon(14, 500) --
    player:InventoryAddWeapon(17, 35) --
    player:InventoryAddWeapon(15, 40) --
    player:InventoryAddWeapon(16, 6) --
    player:InventoryAddWeapon(21, 6) --
    player:InventoryAddItems(36, 15) -- отмычки
    player:SetControlStyleStr( "CS_NORMAL") -- чтоб достат оружие в домах и в барах.
    -- player:SetControlStyleStr( "CS_ENABLESHOOTFROMCAR") -- чтоб достат оружие в домах и в барах, стрелять из авто.
    player:SetFightAbility(true, enums.FightAbility.COUNTER) -- встречный удар.
    player:SetFightAbility(true, enums.FightAbility.COMBO) -- комбо атака.
    end,{},1,1,false)

    -- для Джо чтоб ровно стрелял.
    DelayBuffer:Insert(
    function(l_1_0)
    npc1 = game.entitywrapper:GetEntityByName("Joe")
    npc1:InventoryRemoveWeapon(4)
    npc1:InventoryRemoveWeapon(5)
    npc1:InventoryRemoveWeapon(6)
    npc1:InventoryRemoveWeapon(8)
    npc1:InventoryRemoveWeapon(9)
    npc1:InventoryRemoveWeapon(11)
    npc1:InventoryAddWeapon(13, 120)
    npc1:InventoryAddWeapon(14, 500)
    npc1:InventoryAddWeapon(15, 16)
    npc1:InventoryAddWeapon(17, 10)
    npc1:InventorySelect(27, true)
    player = game.game:GetActivePlayer()
    offset = Math:newVector()
    offset.x = 0
    offset.y = 0
    offset.z = 1.2
    npc1:ShootAt(player, offset, 8000)
    end,{},1,1,false)

    -- ThrowMolotov, for Joe.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_2_0) V = game.entitywrapper
    npc1 = V:GetEntityByName("Joe")
    npc1:InventoryAddWeapon(3, 60)
    npc1:InventoryAddWeapon(21, 6)end,
    function(l_3_0)return npc1:ThrowMolotov(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_4_0)return npc1:ThrowMolotov(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_5_0)return npc1:ThrowMolotov(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_6_0)return npc1:ThrowMolotov(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_7_0)return npc1:ThrowMolotov(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_8_0)return npc1:InventoryDrop() end})end,{l_1_0},100,1,false)

    -- ThrowGrenade, for Joe.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_2_0) V = game.entitywrapper
    npc1 = V:GetEntityByName("Joe")
    npc1:InventoryAddWeapon(3, 60)
    npc1:InventoryAddWeapon(20, 6)end,
    function(l_3_0)return npc1:ThrowGrenade(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_4_0)return npc1:ThrowGrenade(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_5_0)return npc1:ThrowGrenade(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_6_0)return npc1:ThrowGrenade(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_7_0)return npc1:ThrowGrenade(npc1:GetPos() + npc1:GetDir() * 10, 3.14 / 4)end,
    function(l_8_0)return npc1:InventoryDrop() end})end,{l_1_0},100,1,false)

    -- курение держа в руках пистолет.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, t, f = game.game:GetActivePlayer(), true, false
    P:InventoryAddWeapon(4, 56)
    P:InventorySelect(4, f) end,
    function(l_2_0)return P:LockControls(t) end,
    function(l_3_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_in", f)end,
    function(l_4_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_greet", f)end,
    function(l_5_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_6_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_7_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_8_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_9_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_10_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_stat", f)end,
    function(l_11_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_potter", f)end,
    function(l_12_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_13_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_14_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_15_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_16_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_smoke", f)end,
    function(l_17_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_look", f)end,
    function(l_18_0)return P:AnimPlay( "sc_gangster_pistol_idle_smoking_out", f)end,
    function(l_19_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    1
     #
  • JackSnow
    Статус: оффлайн
    Рейтинг эксперта: 7
    1
     #
    -- анимация, Вито выпишивает Штраф, Джо предлагает взятку.
    -- присутствие Джо.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, V, t, f = game.game:GetActivePlayer(), game.entitywrapper, true, false
    npc1 = V:GetEntityByName("Joe")
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlaySync(npc1, "sc_penalty_cop_bribe_M", "sc_penalty_del_bribe_S", 0)end,
    function(l_3_0)return P:AnimPlaySync(npc1, "sc_penalty_cop_bribe_M", "sc_penalty_del_bribe_S", 0)end,
    function(l_4_0)return P:AnimPlaySync(npc1, "sc_penalty_cop_bribe_M", "sc_penalty_del_bribe_S", 0)end,
    function(l_5_0)return P:AnimPlaySync(npc1, "sc_penalty_cop_bribe_M", "sc_penalty_del_bribe_S", 0)end,
    function(l_6_0)return P:AnimPlaySync(npc1, "sc_penalty_cop_bribe_M", "sc_penalty_del_bribe_S", 0)end,
    function(l_7_0)return P:ModelToHands(-1, 0, 0) end,
    function(l_8_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация почистить обувь.
    -- присутствие Джо.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, V, t, f = game.game:GetActivePlayer(), game.entitywrapper, true, false
    npc1 = V:GetEntityByName("Joe")
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlaySync(npc1, "sc_clean_shoe_M", "sc_clean_shoe_S", 0)end,
    function(l_3_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)

    -- анимация, Вито бьёт чувака, работает в тюрьме.
    -- присутствие Лео Галанте.
    DelayBuffer:Insert(function(l_1_0) CommandBuffer:Insert(l_1_0,{
    function(l_1_0)
    P, V, t, f = game.game:GetActivePlayer(), game.entitywrapper, true, false
    npc1 = V:GetEntityByName("leoGalante")
    P:LockControls(t) end,
    function(l_2_0)return P:AnimPlaySync(npc1, "sc_extortion_punch_m", "sc_extortion_punch_s", 0)end,
    function(l_3_0)return P:AnimPlaySync(npc1, "sc_extortion_punch_m", "sc_extortion_punch_s", 0)end,
    function(l_4_0)return P:AnimPlaySync(npc1, "sc_extortion_punch_m", "sc_extortion_punch_s", 0)end,
    function(l_5_0)return P:AnimPlaySync(npc1, "sc_extortion_punch_m", "sc_extortion_punch_s", 0)end,
    function(l_6_0)return P:AnimPlaySync(npc1, "sc_extortion_punch_m", "sc_extortion_punch_s", 0)end,
    function(l_7_0)return P:AnimPlaySync(npc1, "sc_extortion_punch_m", "sc_extortion_punch_s", 0)end,
    function(l_8_0)return P:AnimPlaySync(npc1, "sc_extortion_punch_m", "sc_extortion_punch_s", 0)end,
    function(l_9_0)return P:AnimPlaySync(npc1, "sc_extortion_punch_m", "sc_extortion_punch_s", 0)end,
    function(l_10_0)return P:LockControls(f) end})end,{l_1_0},100,1,false)