client
๐ง Client-Side Exports & Events โ GRP AI Doctor
๐ Client-Side Exports
-- ๐ฆ Open the AI EMS menu
local success = exports['grp_aidoc']:OpenEMSMenu()
-- Returns: true if the menu opened successfully, false otherwise-- ๐ Call a specific EMS vehicle type
local success = exports['grp_aidoc']:CallSpecificEMS('heli') -- Options: 'car', 'boat', 'heli'
-- Returns: true if the EMS was successfully requested๐ฎ Client-Side Events
-- ๐งญ Open the AI EMS menu via event
TriggerEvent('grp_aidoc:client:OpenEMSMenu')-- ๐จ Call a specific EMS vehicle type via event
TriggerEvent('grp_aidoc:client:CallSpecificEMS', 'car') -- Options: 'car', 'boat', 'heli'Last updated