diff --git a/dlls/ts/tsx/NBase.cpp b/dlls/ts/tsx/NBase.cpp index f229db84..620848e1 100755 --- a/dlls/ts/tsx/NBase.cpp +++ b/dlls/ts/tsx/NBase.cpp @@ -335,11 +335,6 @@ static cell AMX_NATIVE_CALL ts_setup(AMX *amx, cell *params){ // index,pwupentin } -static cell AMX_NATIVE_CALL register_forward(AMX *amx, cell *params) -{ - return 1; -} - static cell AMX_NATIVE_CALL get_maxweapons(AMX *amx, cell *params){ return TSMAX_WEAPONS; } @@ -383,8 +378,6 @@ AMX_NATIVE_INFO base_Natives[] = { { "ts_setpddata",ts_setup }, - { "register_statsfwd",register_forward }, - //**************************************** { "get_weaponname", get_weapon_name }, { "get_user_weapon", get_user_weapon }, diff --git a/dlls/ts/tsx/NRank.cpp b/dlls/ts/tsx/NRank.cpp index 4ae91409..bcf530f1 100755 --- a/dlls/ts/tsx/NRank.cpp +++ b/dlls/ts/tsx/NRank.cpp @@ -314,6 +314,11 @@ static cell AMX_NATIVE_CALL cwpn_shot(AMX *amx, cell *params){ // player,wid return 1; } +static cell AMX_NATIVE_CALL register_forward(AMX *amx, cell *params) +{ + return 1; +} + AMX_NATIVE_INFO stats_Natives[] = { { "get_stats", get_stats}, { "get_statsnum", get_statsnum}, @@ -330,6 +335,7 @@ AMX_NATIVE_INFO stats_Natives[] = { { "custom_weapon_add", register_cwpn }, { "custom_weapon_dmg", cwpn_dmg }, { "custom_weapon_shot", cwpn_shot }, + { "register_statsfwd",register_forward }, { NULL, NULL } };