Advanced Exit Vehicle 1.1
1,007
27
1,007
27
DESCRIPTION:
This script allows you to leave vehicle...
...through a passenger door.
...with engine on and the door opened and the radio working
...usual way (full exit), i.e. close the door and engine off.
...with alarm set (turns off when the player is getting in the car)
...with doors locked (for all except player). Security is important. Don't give your car to those pedestrian theves! :D
...with anchor set if the vehicle is a boat. So your boat will never float away. (note: seems not works properly for now)
What the purpose of this script?
To make just simple exit vehicle with few features not realized in SP GTA V and without any 'useless' stuff.
Not all of the ppl want to use big plugins with tons of features. So this is simple as shit.
What the difference from similar plugins?
Better method of getting and blocking the 'exit vehicle' event. Optimized code. Better perfomance. Some other features.
Supports gamepad.
CONTROLS:
'exit vehicle' key
Exit vehicle with engine on and the driver door opened.
Shift + 'exit vehicle'
Exit vehicle through a passenger door with engine on and the door opened.
CTRL + 'exit vehicle'
Shuffle to a passenger seat
RB + 'exit vehicle'
Exit vehicle through a passenger door with engine on and the door opened.
LB + 'exit vehicle'
Shuffle to a passenger seat
Long press turns off engine and closes the door (in both cases)
CONFIGURE
You can configure setting alarm, locking the doors and dropping an anchor.
Also you can configure all of the control keys.
Look in the file!
INSTALLATION:
You'll need this:
1. Script Hook V. http://www.dev-c.com/gtav/scripthookv
2. LUA Plugin for Script Hook V. http://gtaforums.com/topic/789139-vrelhook-lua-plugin-for-script-hook-v
Extract archive here: %GAME_DIRECTORY%\scripts\addins\
This script allows you to leave vehicle...
...through a passenger door.
...with engine on and the door opened and the radio working
...usual way (full exit), i.e. close the door and engine off.
...with alarm set (turns off when the player is getting in the car)
...with doors locked (for all except player). Security is important. Don't give your car to those pedestrian theves! :D
...with anchor set if the vehicle is a boat. So your boat will never float away. (note: seems not works properly for now)
What the purpose of this script?
To make just simple exit vehicle with few features not realized in SP GTA V and without any 'useless' stuff.
Not all of the ppl want to use big plugins with tons of features. So this is simple as shit.
What the difference from similar plugins?
Better method of getting and blocking the 'exit vehicle' event. Optimized code. Better perfomance. Some other features.
Supports gamepad.
CONTROLS:
'exit vehicle' key
Exit vehicle with engine on and the driver door opened.
Shift + 'exit vehicle'
Exit vehicle through a passenger door with engine on and the door opened.
CTRL + 'exit vehicle'
Shuffle to a passenger seat
RB + 'exit vehicle'
Exit vehicle through a passenger door with engine on and the door opened.
LB + 'exit vehicle'
Shuffle to a passenger seat
Long press turns off engine and closes the door (in both cases)
CONFIGURE
You can configure setting alarm, locking the doors and dropping an anchor.
Also you can configure all of the control keys.
Look in the file!
INSTALLATION:
You'll need this:
1. Script Hook V. http://www.dev-c.com/gtav/scripthookv
2. LUA Plugin for Script Hook V. http://gtaforums.com/topic/789139-vrelhook-lua-plugin-for-script-hook-v
Extract archive here: %GAME_DIRECTORY%\scripts\addins\
최초 업로드: 2015년 05월 17일 (일)
마지막 업로드: 2015년 05월 20일 (수)
마지막 다운로드: 5일 전
댓글 30
DESCRIPTION:
This script allows you to leave vehicle...
...through a passenger door.
...with engine on and the door opened and the radio working
...usual way (full exit), i.e. close the door and engine off.
...with alarm set (turns off when the player is getting in the car)
...with doors locked (for all except player). Security is important. Don't give your car to those pedestrian theves! :D
...with anchor set if the vehicle is a boat. So your boat will never float away. (note: seems not works properly for now)
What the purpose of this script?
To make just simple exit vehicle with few features not realized in SP GTA V and without any 'useless' stuff.
Not all of the ppl want to use big plugins with tons of features. So this is simple as shit.
What the difference from similar plugins?
Better method of getting and blocking the 'exit vehicle' event. Optimized code. Better perfomance. Some other features.
Supports gamepad.
CONTROLS:
'exit vehicle' key
Exit vehicle with engine on and the driver door opened.
Shift + 'exit vehicle'
Exit vehicle through a passenger door with engine on and the door opened.
CTRL + 'exit vehicle'
Shuffle to a passenger seat
RB + 'exit vehicle'
Exit vehicle through a passenger door with engine on and the door opened.
LB + 'exit vehicle'
Shuffle to a passenger seat
Long press turns off engine and closes the door (in both cases)
CONFIGURE
You can configure setting alarm, locking the doors and dropping an anchor.
Also you can configure all of the control keys.
Look in the file!
INSTALLATION:
You'll need this:
1. Script Hook V. http://www.dev-c.com/gtav/scripthookv
2. LUA Plugin for Script Hook V. http://gtaforums.com/topic/789139-vrelhook-lua-plugin-for-script-hook-v
Extract archive here: %GAME_DIRECTORY%\scripts\addins\
This script allows you to leave vehicle...
...through a passenger door.
...with engine on and the door opened and the radio working
...usual way (full exit), i.e. close the door and engine off.
...with alarm set (turns off when the player is getting in the car)
...with doors locked (for all except player). Security is important. Don't give your car to those pedestrian theves! :D
...with anchor set if the vehicle is a boat. So your boat will never float away. (note: seems not works properly for now)
What the purpose of this script?
To make just simple exit vehicle with few features not realized in SP GTA V and without any 'useless' stuff.
Not all of the ppl want to use big plugins with tons of features. So this is simple as shit.
What the difference from similar plugins?
Better method of getting and blocking the 'exit vehicle' event. Optimized code. Better perfomance. Some other features.
Supports gamepad.
CONTROLS:
'exit vehicle' key
Exit vehicle with engine on and the driver door opened.
Shift + 'exit vehicle'
Exit vehicle through a passenger door with engine on and the door opened.
CTRL + 'exit vehicle'
Shuffle to a passenger seat
RB + 'exit vehicle'
Exit vehicle through a passenger door with engine on and the door opened.
LB + 'exit vehicle'
Shuffle to a passenger seat
Long press turns off engine and closes the door (in both cases)
CONFIGURE
You can configure setting alarm, locking the doors and dropping an anchor.
Also you can configure all of the control keys.
Look in the file!
INSTALLATION:
You'll need this:
1. Script Hook V. http://www.dev-c.com/gtav/scripthookv
2. LUA Plugin for Script Hook V. http://gtaforums.com/topic/789139-vrelhook-lua-plugin-for-script-hook-v
Extract archive here: %GAME_DIRECTORY%\scripts\addins\
최초 업로드: 2015년 05월 17일 (일)
마지막 업로드: 2015년 05월 20일 (수)
마지막 다운로드: 5일 전
Baaa, locking, alarm, and especially moving to NEXT SEAT feature... Awesome! Thank you very much.
I have customised your code a little for my own use.
F--- normal exiting
F + LStickRight --- Exit from passenger's door
F + LStickLeft when we moving in a car --- I can exit to both doors with Locking and Alarm
if (alarm) and (CONTROLS.IS_CONTROL_PRESSED(2, 63)) then
VEHICLE.SET_VEHICLE_ALARM(pvid, true)
MyLock1 = true -- additional bool
@Teq_HTP ok, it is not a problem. Thanks.
@Baaa I respect your code knowlegd and I wish to ask you to fix a code if possible. Unfortunately this website does not allow any PM so I paste it.
local breakLightsUntilMove = true
local breakLightsWhenStopped = true
local asking = {}
breakLights = false
attachedVehicle = 1
function asking.tick()
playerPed = PLAYER.PLAYER_PED_ID()
player = PLAYER.GET_PLAYER_PED(playerPed)
playerVehicle = PED.GET_VEHICLE_PED_IS_USING(playerPed)
playerVehicleSpeed = ENTITY.GET_ENTITY_SPEED(playerVehicle)
isPlayerDriving = (VEHICLE.GET_PED_IN_VEHICLE_SEAT(playerVehicle, -1) == playerPed)
VEHICLE.GET_VEHICLE_TRAILER_VEHICLE(playerVehicle, attachedVehicle)
if CONTROLS.IS_CONTROL_JUST_PRESSED(2,72) and (breakLightsUntilMove == true) then
breakLights = true
end
if CONTROLS.IS_CONTROL_JUST_PRESSED(0,71) and (breakLightsUntilMove == true) then
breakLights = false
end
if (breakLights == true) or ((breakLightsWhenStopped == true) and (playerVehicleSpeed == 0)) then
VEHICLE.SET_VEHICLE_BRAKE_LIGHTS(playerVehicle, true)
if (attachedVehicle > 0) then
VEHICLE.SET_VEHICLE_BRAKE_LIGHTS(attachedVehicle, true)
end
end
end
function asking.init()
end
function asking.unload()
end
return asking
This is a breaklights code and I wish to realize it with TRAILER together.
Originally coded as C++ by alexslx but I DO wish to translate it to LUA.
Sry but plz let me know if you have any idea!
@Teq_HTP , give me your skype.
@Baaa Baaa thank you very much, my Skype name is Tequila [H.T.P] and the avatar is just same as GTA-5Mods.com.
"Pedestrian thieves." There is no such thing.
And what does "with alarm set" mean?
@Teq_HTP sorry, don't have a time now.
@PapiDimmi setting alarm on the vehicle after "full exit" from vehicle
@PapiDimmi usefull with this: https://www.gta5-mods.com/scripts/farnsworth-s-grand-theft-auto
@Baaa Nop nop. If you have enough time, plz DO find me. Then I will send you a sample code lol
mod works great, but sometimes when I try to get in the vehicle when it's locked, it doesn't unlock. then he he breaks the window (regardless whether it's there or not) and unlocks the door, and hot wires the car. sometimes it unlocks. I find I have to stand a bit further away then it might work.
This mod works perfectly. There is one bug however, when breaking into a car and leaving it immediately, I can bypass the requirement to hot-wire the vehicle. This makes getaway much easier but breaks game balance and immersion for me.
I really like this mod!!!
I have a simple suggestion though. It would be awesome if this mod makes us available to get on back passenger seats; sit backside of a van, sit on case of an SUV or jeep or a military truck, and let us sit on back seats of a boat (without a driver of course). If you can upgrade this mod and add these functions too,it would be really awesome.
Thanks again for the mod though.
Are the locked cars saved? In terms of disappearing when going away from them?
Hi Baaa, can Iask you a favor ? Do you have Skype ?
wtf is exit vehicle' key ? lol
What about just simply leave vehicle with engine off and closed door through driver ?
@Baaa Is there a way I can set up the script so that the vehicle turns off and the door closes when I exit?
@Baaa Nevermind, I just have to hold F to turn off the car and close the door.
Does this mod still work?
happy to say this still works makes so many mods that only do one function or one or the other useless best exit vehicle mod out there