From a72b749facd3817c8cc1e817de8af4751e6f1d0b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 20 Mar 2004 23:58:26 +0000 Subject: [PATCH] Fixed fun include from amxmodx and cs_set_user_nvg --- plugins/include/amxmodx.inc | 1 - plugins/include/cstrike.inc | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index b9b7df60..06e38da4 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -17,7 +17,6 @@ #include #include #include -#include /* Function is called just after server activation. * Good place for configuration loading, commands and cvars registration. */ diff --git a/plugins/include/cstrike.inc b/plugins/include/cstrike.inc index dc98a09b..583f6720 100755 --- a/plugins/include/cstrike.inc +++ b/plugins/include/cstrike.inc @@ -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); \ No newline at end of file +native cs_set_weapon_silenced(index, silence = 1);