Custom Player Taglines

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Custom Player Taglines

Post by greenie »

Custom Player Taglines
Version 0.5

Description
A tagline is a line of text that is displayed when a user connects. It can be defined by each individual user. Currently the script is configured to let anyone with reserved access to the server to make a tag. This can be changed by a simple tweak of the access level.

This plugin supports both SQLx and FILE usage.

Origional idea from the TGNS server.

Be sure to
- Enable in your amxmodx/configs/plugins.ini file!!
- Modify your /configs/sql.cfg file if you plan on using SQL!!
- Create the taglines.ini file in your /configs folder!!
- Place the library file in your amxmodx/data/lang folder!!


Commands
- amx_tag <your tag> Sets your tagline ( Note that the tagline should be "in quotes")
- amx_tagon 0/1 Toggles the display of your tagline

To do
- Nothing now.


Compatibility
This script was confirmed working with the following:
Windows HLDS
MetaMod v1.19 / MetaMod v1.19p28
AMXMODX v1.76c
MySQL 4.0.25

Changelog

v0.1
- Initial release
v0.2
- The tagline display can be toggled on and off by the user at any time
- Database errors return more feedback
v0.3
- Better error checking on the SQL querys
- Add an option to use a text file instead of SQL
- Fixed and tested the tag toggle checking
v0.3b
- When using the file method, all lines are now parsed
v0.3c
- Code optimized further
v0.4
- Fixed bugs with file usage
- Updated to use sqlx (No more lag for remote sql servers!)
- Code optimized
v0.5
- Added requested feature to not show taglines on map change.
plugin
source
Post Reply

Return to “General Purpose”