Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if (IsInVehicle()) then
if IsControlJustPressed(1, 178) then – INPUT_CELLPHONE_DOWN
InitMenu()
Menu.hidden = not Menu.hidden
elseif IsControlJustPressed(1, 32) then – INPUT_MOVE_UP_ONLY
ClearPedTasks(ped);
playing_emote = false
end
end
Menu.renderGUI()
end
end)
Where am i looking so i can change the GUI over to the right side of the screen , i know its gui.lua but what do i edit? I’ve just added more emotes to the list aswell but the bottom goes off the screen https://gyazo.com/2d5509468f54e96e493212d89b7b23b8
how can i split the list so there’s like a second page so when we navigate to Lean it will scroll to next page. thanks in advance for any help.
with this you can also type /emote and do the emote like /cop is there a way to block that from happening if you are in a car also? That one above only blocks the menu.
Here’s my version of enhanced emotes, thanks to @Boubi for edits to the GUI and preventing emotes while in vehicles. Also these are usable through the gui only and not /
Open them with left alt
yeah just have a look at the coding, it should make sense. Also might run out of screen if you keep adding loads as i don’t know how to configure the gui to categorise them, so you go in “cop” and there’s the cop emotes, go to fitness and there’s the fitness emotes etc etc.
How would one go about disabling the control activation key? I would love to use this mod but not with a controller. It messes up another mod I’m using.
Real quick, will this work for FX Servers? Because I get getting the annoying error whenever I try to do an emote. Unless I’m missing/doing something completely wrong.