diff --git a/reapi/extra/amxmodx/scripting/include/reapi_gamedll.inc b/reapi/extra/amxmodx/scripting/include/reapi_gamedll.inc index dcae188..13fe562 100644 --- a/reapi/extra/amxmodx/scripting/include/reapi_gamedll.inc +++ b/reapi/extra/amxmodx/scripting/include/reapi_gamedll.inc @@ -496,11 +496,12 @@ native rg_set_user_model(const index, const model[], const bool:update_index = f * Reset model user * * @param index Client index +* @param update_index If true, the modelindex is reseted as well * * @return 1 if successfully, 0 otherwise * */ -native rg_reset_user_model(const index); +native rg_reset_user_model(const index, const bool:update_index = false); /* * Enable/Disable footsteps of the player. diff --git a/reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc b/reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc index 4c1ec4d..af54273 100644 --- a/reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc +++ b/reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc @@ -208,7 +208,7 @@ enum GamedllFunc /* * Description: - - * Params: (const index, VGUIMenu:menuType, const bitsSlots, szOldMenu[], bool:bForceOldMenu) + * Params: (const index, VGUIMenu:menuType, const bitsSlots, szOldMenu[]) */ RG_ShowVGUIMenu, diff --git a/reapi/src/amxxmodule.cpp b/reapi/src/amxxmodule.cpp index 82c7c09..1a869df 100644 --- a/reapi/src/amxxmodule.cpp +++ b/reapi/src/amxxmodule.cpp @@ -231,7 +231,7 @@ NOINLINE void AMXX_Error(AMX *amx, const char *fmt, ...) auto scriptName = g_amxxapi.GetAmxScriptName(g_amxxapi.FindAmxScriptByAmx(amx)); if (scriptName) { - if ((scriptName = strrchr(scriptName, '\\'))) + if ((scriptName = strrchr(scriptName, '/'))) scriptName++; }