Admin Commands? I was thinking about Gameplay...
PHP Code:
#define TE_DLIGHT 27
amxmodx.inc -> messages.inc -> message_const.inc, define is already there.
PHP Code:
public plugin_precache()
{
if(get_pcvar_num(FLsound))
precache_generic(Sound)
}
Remember that plugin_precache is called
before plugin_init, so the cvar doesn't exists, just do the mp3 play cvar check or create the cvar in plugin_precache.
about flashbang dlight, I don't see why it should be added into this plugin...
css like ;D (well pev_punchangle doesn't recreate the effect from css)
gjj..
__________________