2
0
mirror of https://github.com/rehlds/reapi.git synced 2025-01-01 01:25:47 +03:00

Fix slash.

Fix discrepancy of info about the natives in include files.
This commit is contained in:
s1lent 2017-03-21 21:45:49 +07:00
parent d38ded61bc
commit 6df3e41c02
3 changed files with 4 additions and 3 deletions

View File

@ -496,11 +496,12 @@ native rg_set_user_model(const index, const model[], const bool:update_index = f
* Reset model user * Reset model user
* *
* @param index Client index * @param index Client index
* @param update_index If true, the modelindex is reseted as well
* *
* @return 1 if successfully, 0 otherwise * @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. * Enable/Disable footsteps of the player.

View File

@ -208,7 +208,7 @@ enum GamedllFunc
/* /*
* Description: - * Description: -
* Params: (const index, VGUIMenu:menuType, const bitsSlots, szOldMenu[], bool:bForceOldMenu) * Params: (const index, VGUIMenu:menuType, const bitsSlots, szOldMenu[])
*/ */
RG_ShowVGUIMenu, RG_ShowVGUIMenu,

View File

@ -231,7 +231,7 @@ NOINLINE void AMXX_Error(AMX *amx, const char *fmt, ...)
auto scriptName = g_amxxapi.GetAmxScriptName(g_amxxapi.FindAmxScriptByAmx(amx)); auto scriptName = g_amxxapi.GetAmxScriptName(g_amxxapi.FindAmxScriptByAmx(amx));
if (scriptName) if (scriptName)
{ {
if ((scriptName = strrchr(scriptName, '\\'))) if ((scriptName = strrchr(scriptName, '/')))
scriptName++; scriptName++;
} }