A big thanks to jtp10181 for helping me make this plugin work. HUDs are now even more flexible
Code:
/***************************************************************************
* Customizable HUD's by Johnjg75
*=============================
*
* - special thanks to jtp10181 for helping me debug the code
*
* Change Log
*------------
*
* v2.0,
* -completely rewritten from the ground up
* -added logging ability
*
* v1.3,
* - added amx_pfullhud,amx_pcfsay,amx_pfsay
* - fixed char length bug
*
* v1.2,
* - increased char limit for messages
*
* v1.1,
* - Fixed the bug where only the 1st line was executed
*
* v1.0,
* - made plugin and released
* - 3 commands amx_fullhud, amx_cfsay, amx_fsay
*
* Description
*-------------
*
* amx_fullhud (experts only) customize a HUD message with many options
* amx_cfsay (color free say) customize the color and coordinates for your message
* amx_fsay (free say) Customize the coordinates for your message (default color - white, change constant)
* amx_pfullhud (experts only) Customize a HUD message with many options and send to a specified player
* amx_pcfsay (private color free say) Customize the color and coordinates for your message to a specified player
* amx_pfsay (private free say) Customize the coordinates for your message to a specified player (default color - white, change constant)
*
*****************************************************************************/
//Includes
#include <amxmodx>
#include <amxmisc>