View Single Post
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 02-12-2010 , 23:37   Re: Realistic FlashBang
Reply With Quote #2

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..
__________________

Last edited by IneedHelp; 02-12-2010 at 23:40.
IneedHelp is offline