You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2022. It is now read-only.
Citizen.CreateThread(function()
-- Get the ped headshot image.localhandle=RegisterPedheadshot(PlayerPedId())
whilenotIsPedheadshotReady(handle) ornotIsPedheadshotValid(handle) doCitizen.Wait(0)
endlocaltxd=GetPedheadshotTxdString(handle)
-- Add the notification textBeginTextCommandThefeedPost("PS_UPDATE")
AddTextComponentInteger(50)
-- Set the notification title and progresslocaltitle="PSF_STAMINA"localp1=14locallastProgress=25localnewProgress=50localunknownBool=falseEndTextCommandThefeedPostStats(title, p1, newProgress, lastProgress, unknownBool, txd, txd)
-- Draw the notificationlocalshowInBrief=truelocalblink=false-- blink doesn't work when using icon notifications.EndTextCommandThefeedPostTicker(blink, showInBrief)
-- Cleanup after yourself!UnregisterPedheadshot(handle)
end)