Fixed native character length for cs_set_user_nvgoggles

This commit is contained in:
David Anderson 2004-03-20 23:57:24 +00:00
parent 7fef5aad34
commit cd0cd140ac
2 changed files with 6 additions and 6 deletions

View File

@ -927,7 +927,7 @@ static cell AMX_NATIVE_CALL cs_set_user_backpackammo(AMX *amx, cell *params) //
return 1; return 1;
} }
static cell AMX_NATIVE_CALL cs_get_user_nvgoggles(AMX *amx, cell *params) // cs_get_user_nvgoggles(index); = 1 param static cell AMX_NATIVE_CALL cs_get_user_nvg(AMX *amx, cell *params) // cs_get_user_nvg(index); = 1 param
{ {
// Does user have night vision goggles? // Does user have night vision goggles?
// params[1] = user index // params[1] = user index
@ -954,7 +954,7 @@ static cell AMX_NATIVE_CALL cs_get_user_nvgoggles(AMX *amx, cell *params) // cs_
return 0; return 0;
} }
static cell AMX_NATIVE_CALL cs_set_user_nvgoggles(AMX *amx, cell *params) // cs_set_user_nvgoggles(index, nvgoggles = 1); = 2 params static cell AMX_NATIVE_CALL cs_set_user_nvg(AMX *amx, cell *params) // cs_set_user_nvg(index, nvgoggles = 1); = 2 params
{ {
// Give/take nvgoggles.. // Give/take nvgoggles..
// params[1] = user index // params[1] = user index
@ -1206,8 +1206,8 @@ AMX_NATIVE_INFO cstrike_Exports[] = {
{"cs_set_user_defusekit", cs_set_user_defusekit}, {"cs_set_user_defusekit", cs_set_user_defusekit},
{"cs_get_user_backpackammo", cs_get_user_backpackammo}, {"cs_get_user_backpackammo", cs_get_user_backpackammo},
{"cs_set_user_backpackammo", cs_set_user_backpackammo}, {"cs_set_user_backpackammo", cs_set_user_backpackammo},
{"cs_get_user_nvgoggles", cs_get_user_nvgoggles}, {"cs_get_user_nvg", cs_get_user_nvg},
{"cs_set_user_nvgoggles", cs_set_user_nvgoggles}, {"cs_set_user_nvg", cs_set_user_nvg},
{"cs_get_hostage_follow", cs_get_hostage_follow}, {"cs_get_hostage_follow", cs_get_hostage_follow},
{"cs_set_hostage_follow", cs_set_hostage_follow}, {"cs_set_hostage_follow", cs_set_hostage_follow},

View File

@ -1,5 +1,5 @@
//#define __cswonbuild__ // comment when compiling for STEAM #define __cswonbuild__ // comment when compiling for STEAM
//#define CS_WON_BUILD #define CS_WON_BUILD
/* AMX Mod X /* AMX Mod X
* Counter-Strike Module * Counter-Strike Module