diff --git a/reapi/extra/amxmodx/scripting/include/reapi_engine_const.inc b/reapi/extra/amxmodx/scripting/include/reapi_engine_const.inc index fd6b891..ef0af8a 100644 --- a/reapi/extra/amxmodx/scripting/include/reapi_engine_const.inc +++ b/reapi/extra/amxmodx/scripting/include/reapi_engine_const.inc @@ -230,17 +230,17 @@ enum EntVars /* * Description: player's viewmodel - * Member type: int + * Member type: string_t * Get params: get_entvar(index, EntVars:var); - * Set params: set_entvar(index, EntVars:var, value); + * Set params: set_entvar(index, EntVars:var, const source[]); */ var_viewmodel, /* * Description: what other players see - * Member type: int + * Member type: string_t * Get params: get_entvar(index, EntVars:var); - * Set params: set_entvar(index, EntVars:var, value); + * Set params: set_entvar(index, EntVars:var, const source[]); */ var_weaponmodel, diff --git a/reapi/include/com_progdefs.h b/reapi/include/com_progdefs.h index b4c0772..e60ae86 100644 --- a/reapi/include/com_progdefs.h +++ b/reapi/include/com_progdefs.h @@ -71,8 +71,8 @@ struct com_entvars int modelindex; qstring_t model; - int viewmodel; // player's viewmodel - int weaponmodel; // what other players see + qstring_t viewmodel; // player's viewmodel + qstring_t weaponmodel; // what other players see vec3_t absmin; // BB max translated to world coord vec3_t absmax; // BB max translated to world coord