Log in to reply
 

How to edit .cs file (make 2 button controller)



  • I using Ped Passengers from dagoob, his .cs is 1 button (VehicleHorn) , i want to make 2 button (VehicleHorn + VehicleDuck)how to make that?
    That code .cs like this
    if (Game.CurrentInputMode == InputMode.GamePad)
    {
    if (Game.IsControlPressed(2, GTA.Control.VehicleHorn))
    CallPassenger();
    if (Game.IsControlPressed(2, GTA.Control.VehicleExit))
    ExitPassenger();
    }
    else
    {
    if (Game.IsKeyPressed(enter))
    CallPassenger();
    if (Game.IsKeyPressed(leave))
    ExitPassenger();
    }
    }


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.