Quote:
Originally Posted by connorr
Then this is false :
PHP Code:
award_nades = str_to_num(arg)
And you still don't use pcvars for :
PHP Code:
register_cvar("award_he", "1") register_cvar("award_fb", "1") register_cvar("award_fb_amount", "2") register_cvar("award_sg", "1")
Also you should use DeathMsg event instead of csx forward.
Other big error :
PHP Code:
if(get_cvar_num("award_fb") == 1) { give_item(attacker, "weapon_flashbang") if(get_cvar_num("award_fb_amount") == 2) give_item(attacker, "weapon_flashbang") }
Value 2 will never be detected.
|
That's wierd
I test it and it's working well
When I used DeathMsg I got a no free edict error
I tried putting award_fb_amount to 1 and 2 and both worked probably
And about the:
Code:
award_nades = str_to_num(arg)
Even if I used:
It will still do the same
Correct me if anything is wrong
I'm still new you know
__________________