local a = RequestScaleformMovie("translate") --scaleform gfx
while not HasScaleformMovieLoaded(a) do
Citizen.Wait(0)
end
BeginScaleformMovieMethod(a,"EnglishToChinese") --call function
ScaleformMovieMethodAddParamPlayerNameString("Good") --input
local b = EndScaleformMovieMethodReturnValue()
while true do
if IsScaleformMovieMethodReturnValueReady(b) then
local c = GetScaleformMovieMethodReturnValueString(b) --output
print(c)
break
end
Citizen.Wait(0)
end