Scripting/Client/Functions/GetRadarRect

(0.6) Where the radar is on the screen, in pixels: a table with x, y, w, h (the square around the round radar, or the GTA V rectangle of ToggleModernHUD). For placing your own icons next to the radar.

Syntax

GetRadarRect()

Returns

table

Example

function onScriptLoad()
{
	local result = GetRadarRect();
	MessagePlayer( "GetRadarRect returned: " + result, player );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Screen, world and camera

Categories: Client functions | Screen, world and camera