I am opening my RolePlay server so i will need menu that opens on button f5, so things that i need in that menu are
Search
Drag
Put in Vehicle
Take out of Vehicle, i have tried to create that menu with esx_jsid menu, person meny, and f5-menu, but no one does not work when i copy paste things from police to that menu, so i i will need your help,
THANK YOU
if IsControlPressed(0, Keys['F6']) and PlayerData.job ~= nil and PlayerData.job.name == 'mafia' and not ESX.UI.Menu.IsOpen('default', GetCurrentResourceName(), 'mafia_actions') and (GetGameTimer() - GUI.Time) > 150 then
OpenMafiaActionsMenu()
GUI.Time = GetGameTimer()
end
Line 1818
Change to
if IsControlPressed(0, Keys['F6']) and PlayerData.job ~= nil and not ESX.UI.Menu.IsOpen('default', GetCurrentResourceName(), 'mafia_actions') and (GetGameTimer() - GUI.Time) > 150 then
OpenMafiaActionsMenu()
GUI.Time = GetGameTimer()
end