Native referenceFiveM

0x2D3B147AFAD49DE0

0x2D3B147AFAD49DE0 GRAPHICS
FUNCTION SIGNATURE
void 0x2D3B147AFAD49DE0(char* textureDict, char* textureName, float x, float y, float width, float height, float p6, int red, int green, int blue, int alpha, int p11);
Property Value
Native Name 0x2D3B147AFAD49DE0
Hash 0x2D3B147AFAD49DE0
Return Type void
Parameters textureDict (char*), textureName (char*), x (float), y (float), width (float), height (float), p6 (float), red (int), green (int), blue (int), alpha (int), p11 (int)

Description: ``` Used in arcade games and Beam hack minigame in Doomsday Heist. For example, Penetrator Arcade Game

NativeDB Introduced: v1290


### Parameters
- **`textureDict`** (`char*`) — inside script_txds.rpf, browse it with OpenIV
- **`textureName`** (`char*`) — textureName
- **`x`** (`float`) — x position must be between 0.0 and 1.0 (1.0 being the most right side of the screen)
- **`y`** (`float`) — y position must be between 0.0 and 1.0 (1.0 being the most bottom side of the screen)
- **`width`** (`float`) — width 0.0 - 1.0 is the reasonable amount generally
- **`height`** (`float`) — height 0.0 - 1.0 is the reasonable amount generally
- **`p6`** (`float`) — almost always 0.0
- **`red`** (`int`) — red color
- **`green`** (`int`) — green color
- **`blue`** (`int`) — blue color
- **`alpha`** (`int`) — alpha
- **`p11`** (`int`)

### Examples
```lua
-- drawing the game area for penetrator arcade game
Citizen.CreateThread(function()
    RequestStreamedTextureDict("MPArcadeDegenatron", false)
    while not HasStreamedTextureDictLoaded("MPArcadeDegenatron") do Citizen.Wait(1) end
    while true do
        N_0x2d3b147afad49de0("MPArcadeDegenatron", "penetrator_scene_frame", 0.5, 0.5, 0.4, 0.6, 0.0, 255, 0, 0, 255, 0)
        Citizen.Wait(1)
    end
end)
Back to GRAPHICS