Page 1 of 1

Show Access Permissions

Posted: Mon Nov 22, 2021 8:00 am
by greenie
Hi all.

this is my first plugin I have writen.

It just display a HUD message to players with Reserved Slot with all there posible access permissions.

The code is small and self-explanatory.
// indy_showpermissions.sma
// Written by Indiana
// Version: 0.3

#include <amxmodx>
#include <amxmisc>

#define HUDCHANNEL 1 // Channel: 1 - 4 (Used by: 1 wc3ft stats + imessage, 2 scrollmsg + lastmenbet, 3 lastmenbet + attacker stats, 4 victory stats + default channel
#define HUDDISPLAYTIME 20.0 // Seconds after player is put in the server to display the permissions
#define HUDHOLDTIME 12.0 // Seconds how long the permissions should be displayed
#define HUDCOLORRED 150 // Red 0 - 255
#define HUDCOLORGREEN 150 // Green 0 - 255
#define HUDCOLORBLUE 255 // Blue 0 - 255
get plugin
get source