This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- am_beach_washup_cinematic.c -- | |
| RegisterCommand('wakeup', function() | |
| local pos = GetEntityCoords(cache.ped) | |
| local heading = GetEntityHeading(cache.ped) | |
| local coords = vec4(pos.x, pos.y, pos.z-1.0, heading) | |
| local dict = IsPedMale(cache.ped) and 'anim@scripted@heist@ig25_beach@male@' or 'anim@scripted@heist@ig25_beach@heeled@' | |
| DoScreenFadeOut(500) while not IsScreenFadedOut() do Wait(10) end | |
| SetEntityCoords(cache.ped, coords.x, coords.y, coords.z, false, false, false, true) | |
| SetEntityHeading(cache.ped, coords.w) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local taxiScaleform, TAX_CAM, driver, meter, vehicle | |
| local pricePerMeter = 0.05 | |
| local zeroCoords = vec3(0.000000, 0.000000, 0.000000) | |
| local pickingWaypoint = false | |
| local function normalizeVec(vec) | |
| local mag = #(vec) | |
| if mag ~= 0.0 then | |
| local inv = 1.0 / mag | |
| return vec3(vec.x * inv, vec.y * inv, vec.z * inv) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AddEventHandler('randol_medical:onPlayerDeath', function() | |
| if not exports['pma-voice']:isPlayerMuted(cache.serverId) then | |
| exports['pma-voice']:toggleMutePlayer(cache.serverId) | |
| end | |
| end) | |
| AddEventHandler('randol_medical:onPlayerLastStand', function() | |
| if not exports['pma-voice']:isPlayerMuted(cache.serverId) then | |
| exports['pma-voice']:toggleMutePlayer(cache.serverId) | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local wipeTimer = 60 -- Every hour | |
| local function canDeleteVehicle(veh) | |
| local ped = GetPedInVehicleSeat(veh, -1) | |
| return not Entity(veh)?.state.keepVehicle and (ped == 0 or not IsPedAPlayer(ped)) | |
| end | |
| local function clearAllVehicles() | |
| TriggerClientEvent('ox_lib:notify', -1, { | |
| title = 'Vehicle wipe in 30 seconds. Please sit in the driver seat of your vehicle.', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Houses = { | |
| {label = 'Mirror Park Blvd 1', coords = vec3(1228.86, -725.41, 60.80)}, | |
| {label = 'Mirror Park Blvd 2', coords = vec3(1222.79, -697.04, 60.80)}, | |
| {label = 'Mirror Park Blvd 3', coords = vec3(1221.39, -668.83, 63.49)}, | |
| {label = 'Mirror Park Blvd 4', coords = vec3(1206.88, -620.22, 66.44)}, | |
| {label = 'Mirror Park Blvd 5', coords = vec3(1203.69, -598.96, 68.06)}, | |
| {label = 'Mirror Park Blvd 6', coords = vec3(1200.84, -575.72, 69.14)}, | |
| {label = 'Mirror Park Blvd 7', coords = vec3(1204.48, -557.80, 69.62)}, | |
| {label = 'East Mirror Dr 1', coords = vec3(1241.99, -565.69, 69.66)}, | |
| {label = 'East Mirror Dr 2', coords = vec3(1241.38, -601.70, 69.43)}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ObjectList = { | |
| '02gate3_l', | |
| 'apa_heist_apart2_door', | |
| 'apa_mp_apa_crashed_usaf_01a', | |
| 'apa_mp_apa_y1_l1a', | |
| 'apa_mp_apa_y1_l1b', | |
| 'apa_mp_apa_y1_l1c', | |
| 'apa_mp_apa_y1_l1d', | |
| 'apa_mp_apa_y1_l2a', | |
| 'apa_mp_apa_y1_l2b', |