Fixed fun include from amxmodx and cs_set_user_nvg
This commit is contained in:
parent
cd0cd140ac
commit
a72b749fac
@ -17,7 +17,6 @@
|
||||
#include <string>
|
||||
#include <file>
|
||||
#include <vault>
|
||||
#include <fun>
|
||||
|
||||
/* Function is called just after server activation.
|
||||
* Good place for configuration loading, commands and cvars registration. */
|
||||
|
@ -73,10 +73,10 @@ native cs_get_user_money(index);
|
||||
native cs_set_user_money(index, money, flash = 1);
|
||||
|
||||
/* Does user have night vision goggles? */
|
||||
native cs_get_user_nvgoggles(index);
|
||||
native cs_get_user_nvg(index);
|
||||
|
||||
/* Set nvgoggles to 1 to give night vision goggles to index. Set it to 0 to remove them. */
|
||||
native cs_set_user_nvgoggles(index, nvgoggles = 1);
|
||||
native cs_set_user_nvg(index, nvgoggles = 1);
|
||||
|
||||
/* Returns 1 if user has the "skill" to plant bomb, else 0. Normally this would only be true for a terrorist carrying a bomb. */
|
||||
native cs_get_user_plant(index);
|
||||
@ -114,4 +114,4 @@ native cs_set_weapon_burstmode(index, burstmode = 1);
|
||||
native cs_get_weapon_silenced(index);
|
||||
|
||||
/* If silence = 1, weapon will be silenced, 0 and silencer will be removed. Only USP and M4A1 can be silenced. */
|
||||
native cs_set_weapon_silenced(index, silence = 1);
|
||||
native cs_set_weapon_silenced(index, silence = 1);
|
||||
|
Loading…
Reference in New Issue
Block a user