Skip to content

Instantly share code, notes, and snippets.

View ak4y's full-sized avatar
🎯
Focusing

Uğur Akay ak4y

🎯
Focusing
View GitHub Profile
@ak4y
ak4y / washup.lua
Created April 2, 2026 07:25 — forked from Randolio/washup.lua
beach washup scene
-- 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)