View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-14-2008 , 16:22   Re: Award Grenades
Reply With Quote #2

You can remove #include <engine> as engine is not needed.
client_death is a csx forward so you need to include it.

You must use pcvars and learn how to use it.
PHP Code:
    //Check if Award Grenades is enabled
    
if(award_nades == 0) return PLUGIN_HANDLED 
Correct way :
PHP Code:
    //Check if Award Grenades is enabled
    
if(get_pcvarnum(award_nades) == 0) return PLUGIN_HANDLED 
There's a lot of other errors.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 08-14-2008 at 16:27.
ConnorMcLeod is offline