---
title: "GameText-stijlen | open.mp"
description: "GameText-stijlen voor textdraws en gametext."
canonical: https://omp.itsneufox.com/nl/docs/scripting/resources/gametextstyles
language: nl
---

# GameText-stijlen

Deze pagina behandelt gametext-stijlen en gebruik in textdraws en per-speler gametext. Gebruikt door [GameTextForPlayer](https://omp.itsneufox.com/nl/docs/scripting/functions/GameTextForPlayer) en [GameTextForAll](https://omp.itsneufox.com/nl/docs/scripting/functions/GameTextForAll).

* * *

## Tekstkleuren

Gebruik kleurtags om delen van tekst te kleuren, bv. `~y~Gele tekst~y~`.

| Code | Kleur | Omschrijving |
| --- | --- | --- |
| N/B |  | Standaardkleur |
| `~h~` |  | Lichtere variant van de huidige kleur |
| `~h~~h~` |  | Lichtere variant van de huidige kleur |
| `~r~` |  | Rood, meerdere lichtheidsniveaus |
| `~r~~h~` |  |  |
| `~r~~h~~h~` |  |  |
| `~r~~h~~h~~h~` |  |  |
| `~r~~h~~h~~h~~h~` |  |  |
| `~r~~h~~h~~h~~h~~h~` |  |  |
| `~g~` |  | Groen, meerdere lichtheidsniveaus |
| `~g~~h~` |  |  |
| `~g~~h~~h~` |  |  |
| `~g~~h~~h~~h~` |  |  |
| `~g~~h~~h~~h~~h~` |  |  |
| `~b~` |  | Blauw, meerdere lichtheidsniveaus |
| `~b~~h~` |  |  |
| `~b~~h~~h~` |  |  |
| `~b~~h~~h~~h~` |  |  |
| `~p~` |  | Paars, meerdere lichtheidsniveaus |
| `~p~~h~` |  |  |
| `~p~~h~~h~` |  |  |
| `~y~` |  | Geel, meerdere lichtheidsniveaus |
| `~y~~h~` |  |  |
| `~y~~h~~h~` |  |  |
| `~l~` |  | Kleine letter L, zwart, geen lichting |
| `~w~` / `~s~` |  | Wit; `~h~` maakt alles uiteindelijk deze kleur |
| `~w~~h~` / `~s~~h~` |  |  |

* * *

## Speciale tekens

Deze tags hoeven niet ingesloten te worden:

| Code | Omschrijving |
| --- | --- |
| `~n~` | Nieuwe regel |
| `~h~` | Lichter maken van geselecteerde kleuren (kan midden in de tekst staan) |
| `~u~` | Pijl omhoog (grijs) |
| `~d~` | Pijl omlaag (grijs) |
| `~<~` | Pijl links (grijs) |
| `~>~` | Pijl rechts (grijs) |
| `~]~` | `*`\-symbool (alleen stijlen 3, 4, 5) |
| `~k~` | Toetsenmapping (bijv. `~k~~VEHICLE_TURRETLEFT~`). Lijst: zie [Keys](https://omp.itsneufox.com/nl/docs/scripting/resources/keys). |

pas op

Gebruik niet te veel kleuren/specials in één gametext; dit kan clients laten crashen. Zorg voor een even aantal `~`\-tekens in de string.

## Tekststijlen

| Stijl | Voorbeeld | Omschrijving |
| --- | --- | --- |
| Stijl 0 |  | 9s zichtbaar, verbergt andere overlays (gefixet in fixes.inc / GameText+) |
| Stijl 1 |  | Fade na ~8s; bij langere tijd herhaalt het (gefixet in fixes.inc / GameText+) |
| Stijl 2 |  | N/B |
| Stijl 3 |  | N/B |
| Stijl 4 |  | N/B |
| Stijl 5 |  | ~3s zichtbaar; weigert bij spam (gefixet in fixes.inc / GameText+) |
| Stijl 6 |  | N/B |

## Stijlen toegevoegd door [fixes.inc](https://github.com/pawn-lang/sa-mp-fixes) / [GameText+](https://github.com/itsneufox/GameText-Plus)

| Stijl | Voorbeeld | Omschrijving |
| --- | --- | --- |
| Stijl 7 |  | Gebaseerd op SA-voertuignamen |
| Stijl 8 |  | Gebaseerd op SA-locatienamen |
| Stijl 9 |  | SA-radio (geselecteerd) |
| Stijl 10 |  | SA-radio (tijdens wisselen) |
| Stijl 11 |  | SA-positief geld |
| Stijl 12 |  | SA-negatief geld |
| Stijl 13 |  | SA-stuntbonussen |
| Stijl 14 |  | SA-klok |
| Stijl 15 |  | SA-notificatie-popup |
