I couldn't test much more than that because my co op partner kept getting the hash issue
Commands only work for the host since the client never loads that lua on join. I'm currently looking for an alternate script/function to add everything to.
I couldn't test much more than that because my co op partner kept getting the hash issue
You tried restoring default key settings?Hum,i have remove the mod but i can't use the arrow keys again.
Have a solution please?
-- VEEEERY ALPHA!
elseif player_action_is_pressed(B_DELETE) and not SEVEN_PUSHED then
player_force_vehicle_seat(LOCAL_PLAYER, 1) --This one need to be activated in a first place. It makes your character to take a passanger's seat.
sandboxplus_message("You are a passenger. Tap SEVEN and END when you and your follower will be in a car.")
SEVEN_PUSHED = true
elseif player_action_is_pressed(B_END) and not SEVEN_PUSHED then
local myride = get_char_vehicle_name(LOCAL_PLAYER)
local driver = vehicle_get_driver(myride)
set_team(driver, "Civilian") -- That and following lines are responsible for making sure that your driver won't escape the car when you get some heat on
ai_set_personality(driver, "civilian cowardly")
vehicle_max_speed(myride, 30.0) --This one sets maximum speed of your car. It does that for 2 reasons: it prevents driver from
--cannon-sheilding and makes the targeting actually possible.
sandboxplus_message("Ride with a style.")
SEVEN_PUSHED = true
elseif player_action_is_pressed(B_PGDWN) and not SEVEN_PUSHED then
local myride = get_char_vehicle_name(LOCAL_PLAYER)
local driver = vehicle_get_driver(myride)
sandboxplus_message("Your driver is "..driver..".") --Please, tap this function keybind every time you end up driving as a passenger with
--some "other" drivers. Maybe you'' find some other NPC names!
SEVEN_PUSHED = true