CLEAR_DRAW_ORIGIN
Resets the screen's draw-origin which was changed by the function SET_DRAW_ORIGIN back to x=0, y=0.
Signature
void CLEAR_DRAW_ORIGIN();Returns void
Description
Resets the screen's draw-origin which was changed by the function SET_DRAW_ORIGIN back to x=0, y=0. See SET_DRAW_ORIGIN for further information.
Usage
ClearDrawOrigin()
-- always works, by hash
Citizen.InvokeNative(0xdd76b263)JavaScript and C#
ClearDrawOrigin();
// by hash
Citizen.invokeNative('0xdd76b263');Function.Call((Hash)0xdd76b263);See also
SET_DRAW_ORIGINSets the on-screen drawing origin for draw-functions in world coordinates.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.