samp.directory
← Scripts e bibliotecas

tdworg/samp-include-color

Functions and macros for working with colors in a script. They can work with functions that can send a message to the player, e.g. SendClientMessage, SendClientMessageToAll, etc..

Biblioteca★ 4atualizado jan. de 2017Sem licençaPAWN
Abrir no GitHub

Este repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.

Testar no compilador Pawn →

Adiciona os arquivos de include dele, com as bibliotecas de que depende, ao compilador Pawn no seu navegador, prontos para incluir num script.

README.md

TDW Color

Functions and macros for working with colors in a script. They can work with functions that can send a message to the player, e.g. SendClientMessage, SendClientMessageToAll, etc..

Installation

  1. Download library.
  2. All files move into folder pawno/includes. But, you can use the flag -i<path> to specify an alternative path.
  3. Include it:
#include <a_samp> // standart SAMP library
#include <tdw_color>

Example:

#include <tdw_color>
#include <tdw_colorlist>

main()
{
	printf("%s", SCOLOR<BLACK>);
	printf("%08x", COLOR<BLACK>);
	printf("%08x", RGBA(255, 00, 00, 255));
	printf("%08x", RGBA2ARGB(RGBA(255, 00, 00, 255)));
}

colordiscontinuedincludepawnsamp

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página