samp.directory
← Скрипты и библиотеки

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..

Библиотека★ 4обновлён янв. 2017 г.Без лицензииPAWN
Открыть на GitHub

В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.

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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью

tdworg/samp-include-color: Библиотека для SA-MP | samp.directory