GameText+ is an include for both SA-MP and open.mp that improves the native GameText.
It introduces enhanced styling options, improved functionality, and seamless integration with existing scripts.
- Drop-in replacement for native GameText functions
- Full SA-MP and open.mp compatibility
- Download the latest version of
gametext_plus.inc
- Place the file in your project's includes directory
- Add the following line to your script:
#include <gametext_plus>
- SA-MP: Fully compatible
- open.mp: Fully compatible
- fixes.inc: Replaces fixes.inc, so incompatible.
GameText+ seamlessly replaces native functions while providing enhanced functionality:
// Show GameText to all players using location style
GameTextForAll("Grove Street", 5000, 8);
// Show money earned with positive money style
GameTextForPlayer(playerid, "+$50,000", 3000, 11);
// Display radio station with radio style
GameTextForPlayer(playerid, "K-Rose", 3000, 9);
Style ID | Description | Example Usage |
---|---|---|
0-6 | Native SA-MP styles | Mission passed, basic messages |
7 | Vehicle Name | Vehicle names, model displays |
8 | Location Name | Area names, territory notifications |
9 | Radio Station | Radio station names |
10 | Radio Switch | Station change |
11 | Positive Money | Money gained, rewards |
12 | Negative Money | Money lost, fines |
13 | Stunt Bonus | Stunt rewards, bonus points |
14 | Clock | Time display |
15 | Notification | General UI notifications |
The package includes comprehensive testing scripts for both platforms:
Command | Description | Usage |
---|---|---|
/test |
Initiate style showcase | Shows all styles sequentially |
/next |
View next style | Advances to next style in showcase |
/stop |
End demonstration | Terminates current showcase |
- AmyrAhmady
- edgyaf
- Y_Less - Original fixes.inc
This project is licensed under the MIT License, making it freely available for use in both personal and commercial projects. See the LICENSE file for full details.
For issues, feature requests, or general support:
- Open an issue on GitHub
- Join the Discord community
- Check the wiki for additional documentation
Remember to star the repository if you find it useful!