Code:
#include <amxmodx>
/*---------------EDIT ME------------------*/
#define ADMIN_CHECK ADMIN_KICK
static const COLOR[] = "^x04" //green
static const CONTACT[] = "[email protected]"
/*----------------------------------------*/
new maxplayers
new gmsgSayText
public plugin_init() {
register_plugin("Admin Check", "1.51", "OneEyed")
maxplayers = get_maxplayers()
gmsgSayText = get_user_msgid("SayText")
register_clcmd("say", "handle_say")
register_cvar("amx_contactinfo", CONTACT, FCVAR_SERVER)
}
What is the different between "static const" and #define?
register_cvar("amx_contactinfo", CONTACT, FCVAR_SERVER)
↑↑ It means create a cvar and it can modify in amxx.cfg?
"..., CONTACT" <- It means that it is already default at the top stuff? It can change it by use the amx_contactinfo?
__________________
You can be a SUPER coder but you Haven't to say such as "stupid, etc." words to the others