samp.directory
← Scripts and libraries

ScavengeSurvive/action-text

A simple UI library providing a centered text element for messages to prompt the player to perform an action, hence "action" text.

Library★ 3updated Aug 2024MITPawnsampctl
Open on GitHub

Install with sampctl

sampctl package install ScavengeSurvive/action-text

Run this in your project folder. sampctl downloads the package and what it depends on.

Depends on 2 packages

README.md

action-text

A simple UI library providing a centered text element for messages to prompt the player to perform an action, hence "action" text.

Installation

Simply install to your project:

sampctl package install ScavengeSurvive/action-text

Include in your code and begin using the library:

#include <action-text>

Testing

To test, simply run the package:

sampctl package run

Then connect to localhost:7777.

Trigger OnPlayerKeyStateChange to show a demo.

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing