samp.directory
← Skrypty i biblioteki

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

Biblioteka★ 4zaktualizowano sty 2017Brak licencjiPAWN
Otwórz na GitHubie

To repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

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

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

tdworg/samp-include-color: Biblioteka SA-MP | samp.directory