Log in to reply

creation of a mod

  • Hello!
    I wanted to create a new function for my menu, the "eject" function (it should shoot the player out of the vehicle) but I can't do it, help?
    I tried this:

            **Ped character = Game.Player.Character;
            if (character.IsInVehicle())
                Vector3 velocity = character.CurrentVehicle.Velocity;
                character.ApplyForce((velocity * 2f) + (character.UpVector * 20f));**

    just it doesn't work! gets the player out of the vehicle but does not push it in the air, maybe a function.call is missing? If so, which one? Thank you all

Log in to reply

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