Fixed fun include from amxmodx and cs_set_user_nvg

This commit is contained in:
David Anderson 2004-03-20 23:58:26 +00:00
parent cd0cd140ac
commit a72b749fac
2 changed files with 3 additions and 4 deletions

View File

@ -17,7 +17,6 @@
#include <string> #include <string>
#include <file> #include <file>
#include <vault> #include <vault>
#include <fun>
/* Function is called just after server activation. /* Function is called just after server activation.
* Good place for configuration loading, commands and cvars registration. */ * Good place for configuration loading, commands and cvars registration. */

View File

@ -73,10 +73,10 @@ native cs_get_user_money(index);
native cs_set_user_money(index, money, flash = 1); native cs_set_user_money(index, money, flash = 1);
/* Does user have night vision goggles? */ /* 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. */ /* 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. */ /* 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); native cs_get_user_plant(index);