---
title: "103 strony dokumentacji otagowane dla \"textdraw\" | open.mp"
canonical: https://omp.itsneufox.com/pl/docs/tags/textdraw
language: pl
---

# 103 strony dokumentacji otagowane dla "textdraw"

[Wyświetl wszystkie tagi](https://omp.itsneufox.com/pl/docs/tags)

[

## CancelSelectTextDraw

](https://omp.itsneufox.com/pl/docs/scripting/functions/CancelSelectTextDraw)

Cancel textdraw selection with the mouse.

[

## CreatePlayerTextDraw

](https://omp.itsneufox.com/pl/docs/scripting/functions/CreatePlayerTextDraw)

Creates a textdraw for a single player.

[

## IsPlayerTextDrawVisible

](https://omp.itsneufox.com/pl/docs/scripting/functions/IsPlayerTextDrawVisible)

Checks if a player-textdraw is shown for the player.

[

## IsTextDrawVisibleForPlayer

](https://omp.itsneufox.com/pl/docs/scripting/functions/IsTextDrawVisibleForPlayer)

Checks if a textdraw is shown for a player.

[

## IsValidPlayerTextDraw

](https://omp.itsneufox.com/pl/docs/scripting/functions/IsValidPlayerTextDraw)

Checks if a player-textdraw is valid.

[

## IsValidTextDraw

](https://omp.itsneufox.com/pl/docs/scripting/functions/IsValidTextDraw)

Checks if a textdraw is valid.

[

## OnPlayerClickPlayerTextDraw

](https://omp.itsneufox.com/pl/docs/scripting/callbacks/OnPlayerClickPlayerTextDraw)

This callback is called when a player clicks on a player-textdraw.

[

## OnPlayerClickTextDraw

](https://omp.itsneufox.com/pl/docs/scripting/callbacks/OnPlayerClickTextDraw)

This callback is called when a player clicks on a textdraw or cancels the select mode with the Escape key.

[

## PlayerTextDrawAlignment

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawAlignment)

Set the text alignment of a player-textdraw.

[

## PlayerTextDrawBackgroundColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawBackgroundColor)

Adjust the background color of a player-textdraw.

[

## PlayerTextDrawBackgroundColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawBackgroundColour)

Adjust the background colour of a player-textdraw.

[

## PlayerTextDrawBoxColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawBoxColor)

Sets the color of a textdraw's box (PlayerTextDrawUseBox).

[

## PlayerTextDrawBoxColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawBoxColour)

Sets the colour of a textdraw's box (PlayerTextDrawUseBox ).

[

## PlayerTextDrawColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawColor)

Sets the text color of a player-textdraw.

[

## PlayerTextDrawColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawColour)

Sets the text colour of a player-textdraw.

[

## PlayerTextDrawDestroy

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawDestroy)

Destroy a player-textdraw.

[

## PlayerTextDrawFont

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawFont)

Change the font of a player-textdraw.

[

## PlayerTextDrawGetAlignment

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetAlignment)

Gets the text alignment of a player-textdraw.

[

## PlayerTextDrawGetBackgroundCol

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetBackgroundCol)

Gets the background color of a player-textdraw

[

## PlayerTextDrawGetBackgroundColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetBackgroundColour)

Gets the background colour of a player-textdraw

[

## PlayerTextDrawGetBoxColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetBoxColor)

Gets the box color of a player-textdraw

[

## PlayerTextDrawGetBoxColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetBoxColour)

Gets the box colour of a player-textdraw

[

## PlayerTextDrawGetColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetColor)

Gets the text color of a player-textdraw

[

## PlayerTextDrawGetColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetColour)

Gets the text colour of a player-textdraw

[

## PlayerTextDrawGetFont

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetFont)

Gets the text font of a player-textdraw.

[

## PlayerTextDrawGetLetterSize

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetLetterSize)

Gets the width and height of the letters.

[

## PlayerTextDrawGetOutline

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetOutline)

Get the outline size on a player-textdraw.

[

## PlayerTextDrawGetPos

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetPos)

Gets the position of a player-textdraw.

[

## PlayerTextDrawGetPreviewModel

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetPreviewModel)

Gets the preview model of a 3D preview player-textdraw.

[

## PlayerTextDrawGetPreviewRot

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetPreviewRot)

Gets the rotation and zoom of a 3D model preview player-textdraw.

[

## PlayerTextDrawGetPreviewVehCol

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetPreviewVehCol)

Gets the preview vehicle colors of a 3D preview player-textdraw.

[

## PlayerTextDrawGetPreviewVehicleColours

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetPreviewVehicleColours)

Gets the preview vehicle colors of a 3D preview player-textdraw.

[

## PlayerTextDrawGetShadow

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetShadow)

Get the shadow size on a player-textdraw.

[

## PlayerTextDrawGetString

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetString)

Gets the text of a player-textdraw.

[

## PlayerTextDrawGetTextSize

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawGetTextSize)

Gets the X axis and Y axis of the player-textdraw text size.

[

## PlayerTextDrawHide

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawHide)

Hide a player-textdraw from the player it was created for.

[

## PlayerTextDrawIsBox

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawIsBox)

Checks if a player-textdraw is box.

[

## PlayerTextDrawIsProportional

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawIsProportional)

Checks if a player-textdraw is proportional.

[

## PlayerTextDrawIsSelectable

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawIsSelectable)

Checks if a player-textdraw is selectable.

[

## PlayerTextDrawLetterSize

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawLetterSize)

Sets the width and height of the letters in a player-textdraw.

[

## PlayerTextDrawSetOutline

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetOutline)

Set the outline of a player-textdraw.

[

## PlayerTextDrawSetPos

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetPos)

Sets the position of a player-textdraw.

[

## PlayerTextDrawSetPreviewModel

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetPreviewModel)

Sets a player textdraw 3D preview sprite of a specified model ID.

[

## PlayerTextDrawSetPreviewRot

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetPreviewRot)

Sets the rotation and zoom of a 3D model preview player-textdraw.

[

## PlayerTextDrawSetPreviewVehCol

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetPreviewVehCol)

Set the color of a vehicle in a player-textdraw model preview (if a vehicle is shown).

[

## PlayerTextDrawSetPreviewVehicleColours

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetPreviewVehicleColours)

Set the colour of a vehicle in a player-textdraw model preview (if a vehicle is shown).

[

## PlayerTextDrawSetProportional

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetProportional)

Appears to scale text spacing to a proportional ratio.

[

## PlayerTextDrawSetSelectable

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetSelectable)

Toggles whether a player-textdraw can be selected or not.

[

## PlayerTextDrawSetShadow

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetShadow)

Adds a shadow to the bottom-right side of the text in a player-textdraw.

[

## PlayerTextDrawSetString

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawSetString)

Change the text of a player-textdraw.

[

## PlayerTextDrawShow

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawShow)

Show a player-textdraw to the player it was created for.

[

## PlayerTextDrawTextSize

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawTextSize)

Change the size of a player-textdraw (box if PlayerTextDrawUseBox is enabled and/or clickable area for use with PlayerTextDrawSetSelectable).

[

## PlayerTextDrawUseBox

](https://omp.itsneufox.com/pl/docs/scripting/functions/PlayerTextDrawUseBox)

Toggle the box on a player-textdraw.

[

## SelectTextDraw

](https://omp.itsneufox.com/pl/docs/scripting/functions/SelectTextDraw)

Display the cursor and allow the player to select a textdraw.

[

## TextDrawAlignment

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawAlignment)

Set the alignment of text in a text draw.

[

## TextDrawBackgroundColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawBackgroundColor)

Adjusts the text draw area background color (the outline/shadow - NOT the box).

[

## TextDrawBackgroundColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawBackgroundColour)

Adjusts the text draw area background colour (the outline/shadow - NOT the box).

[

## TextDrawBoxColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawBoxColor)

Adjusts the text box colour (only used if TextDrawUseBox 'use' parameter is 1).

[

## TextDrawBoxColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawBoxColour)

Adjusts the text box colour (only used if TextDrawUseBox 'enableBox' parameter is 'true').

[

## TextDrawColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawColor)

Sets the text color of a textdraw.

[

## TextDrawColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawColour)

Sets the text colour of a textdraw.

[

## TextDrawCreate

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawCreate)

Creates a textdraw.

[

## TextDrawDestroy

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawDestroy)

Destroys a previously-created textdraw.

[

## TextDrawFont

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawFont)

Changes the text font.

[

## TextDrawGetAlignment

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetAlignment)

Gets the text alignment of a textdraw.

[

## TextDrawGetBackgroundColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetBackgroundColor)

Gets the background color of a textdraw.

[

## TextDrawGetBackgroundColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetBackgroundColour)

Gets the background colour of a textdraw.

[

## TextDrawGetBoxColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetBoxColor)

Gets the box color of a textdraw.

[

## TextDrawGetBoxColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetBoxColour)

Gets the box colour of a textdraw.

[

## TextDrawGetColor

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetColor)

Gets the text color of a textdraw.

[

## TextDrawGetColour

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetColour)

Gets the text colour of a textdraw.

[

## TextDrawGetFont

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetFont)

Gets the text font of a textdraw.

[

## TextDrawGetLetterSize

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetLetterSize)

Gets the width and height of the letters.

[

## TextDrawGetOutline

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetOutline)

Gets the thickness of a textdraw's text's outline.

[

## TextDrawGetPos

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetPos)

Gets the position of a textdraw.

[

## TextDrawGetPreviewModel

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetPreviewModel)

Gets the preview model of a 3D preview textdraw.

[

## TextDrawGetPreviewRot

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetPreviewRot)

Gets the rotation and zoom of a 3D model preview textdraw.

[

## TextDrawGetPreviewVehCol

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetPreviewVehCol)

Gets the preview vehicle colors of a 3D preview textdraw.

[

## TextDrawGetPreviewVehicleColours

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetPreviewVehicleColours)

Gets the preview vehicle colours of a 3D preview textdraw.

[

## TextDrawGetShadow

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetShadow)

Gets the size of a textdraw's text's shadow.

[

## TextDrawGetString

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetString)

Gets the text of a textdraw.

[

## TextDrawGetTextSize

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawGetTextSize)

Gets the X axis and Y axis of the textdraw.

[

## TextDrawHideForAll

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawHideForAll)

Hides a text draw for all players.

[

## TextDrawHideForPlayer

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawHideForPlayer)

Hides a textdraw for a specific player.

[

## TextDrawIsBox

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawIsBox)

Checks if a textdraw is box.

[

## TextDrawIsProportional

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawIsProportional)

Checks if a textdraw is proportional.

[

## TextDrawIsSelectable

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawIsSelectable)

Checks if a textdraw is selectable.

[

## TextDrawLetterSize

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawLetterSize)

Sets the width and height of the letters.

[

## TextDrawSetOutline

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetOutline)

Sets the thickness of a textdraw's text's outline.

[

## TextDrawSetPos

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetPos)

Sets the position of a textdraw.

[

## TextDrawSetPreviewModel

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetPreviewModel)

Set the model for a textdraw model preview.

[

## TextDrawSetPreviewRot

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetPreviewRot)

Sets the rotation and zoom of a 3D model preview textdraw.

[

## TextDrawSetPreviewVehCol

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetPreviewVehCol)

If a vehicle model is used in a 3D preview textdraw, this sets the two colour values for that vehicle.

[

## TextDrawSetPreviewVehicleColours

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetPreviewVehicleColours)

If a vehicle model is used in a 3D preview textdraw, this sets the two colour values for that vehicle.

[

## TextDrawSetProportional

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetProportional)

Appears to scale text spacing to a proportional ratio.

[

## TextDrawSetSelectable

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetSelectable)

Sets whether a textdraw can be selected (clicked on) or not.

[

## TextDrawSetShadow

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetShadow)

Sets the size of a textdraw's text's shadow.

[

## TextDrawSetString

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetString)

Changes the text on a textdraw.

[

## TextDrawSetStringForPlayer

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawSetStringForPlayer)

Changes the text on a textdraw for a specific player.

[

## TextDrawShowForAll

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawShowForAll)

Shows a textdraw for all players.

[

## TextDrawShowForPlayer

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawShowForPlayer)

Shows a textdraw for a specific player.

[

## TextDrawTextSize

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawTextSize)

Change the size of a textdraw (box if TextDrawUseBox is enabled and/or clickable area for use with TextDrawSetSelectable).

[

## TextDrawUseBox

](https://omp.itsneufox.com/pl/docs/scripting/functions/TextDrawUseBox)

Toggle whether a textdraw uses a box or not.
