[Help] create scaleform c#
-
hi! it's my first post and sorry if is the wrong section.
how i can create scaleform like this in c#?
-
i have found a solution, if anyone need is this
void DisplayHelpTextThisFrame(string text) { Function.Call(Hash._SET_TEXT_COMPONENT_FORMAT, "STRING"); Function.Call(Hash._ADD_TEXT_COMPONENT_STRING, text); Function.Call(Hash._0x238FFE5C7B0498A6, 0, 0, 1, -1); }
DisplayHelpTextThisFrame("hit ~INPUT_VEH_HORN~ for do somethings);
if (Game.IsControlPressed(0, GTA.Control.VehicleHorn)
{}