Skip to content

Instantly share code, notes, and snippets.

Created Nov 4, 2017
Embed
What would you like to do?
Citizen.CreateThread(function()
scaleform = RequestScaleformMovie("ORGANISATION_NAME")
while true do
if scaleform ~= nil and HasScaleformMovieLoaded(scaleform) then
PushScaleformMovieFunction(scaleform, "SET_ORGANISATION_NAME")
PushScaleformMovieFunctionParameterString("ambigu~r~X")
PushScaleformMovieFunctionParameterInt(-1)
PushScaleformMovieFunctionParameterInt(0)
PushScaleformMovieFunctionParameterInt(7)
PopScaleformMovieFunction()
end
iVar0 = -2082168399
if (not IsNamedRendertargetRegistered("prop_ex_office_text")) then
RegisterNamedRendertarget("prop_ex_office_text", 0)
LinkNamedRendertarget(iVar0)
if (not IsNamedRendertargetLinked(iVar0)) then
ReleaseNamedRendertarget("prop_ex_office_text")
end
end
iLocal_186 = GetNamedRendertargetRenderId("prop_ex_office_text")
SetTextRenderId(iLocal_186)
if GetDistanceBetweenCoords(-1379.2, -477.4, 72.0, GetEntityCoords(PlayerPedId()), 1) < 25.0 then
DrawScaleformMovie(scaleform, 0.196*1.75, 0.345*1.5, 0.46*2.5, 0.66*2.5, 255, 255, 255, 255, 1)
end
Wait(0)
end
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment