guys. i dont want to people press F1 or some other key like F3 or K "its depends. "
i mean how to disable press key when people in car ?
while true do
Citizen.Wait(0) -- Wait 0 seconds to prevent crashing.
if IsPedInAnyVehicle(PlayerPedId(), true) then -- If the player is (trying to use /) using a vehicle
DisableControlAction(0, --[[Control ID Goes Here]], true)
How about press key automaticly when player in a car ?
Just one time when he enter the car ?
Not sure that’s possible.
how about make this disable when people in vehicle
local function ch_emote(player,choice)
local emote = emotes[choice]
if emote then