Fixed bug at18791 (Maddo)

This commit is contained in:
David Anderson 2005-09-11 19:15:49 +00:00
parent b6a4514bd0
commit 9ba597b5c1
2 changed files with 6 additions and 7 deletions

View File

@ -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){ static cell AMX_NATIVE_CALL get_maxweapons(AMX *amx, cell *params){
return TSMAX_WEAPONS; return TSMAX_WEAPONS;
} }
@ -383,8 +378,6 @@ AMX_NATIVE_INFO base_Natives[] = {
{ "ts_setpddata",ts_setup }, { "ts_setpddata",ts_setup },
{ "register_statsfwd",register_forward },
//**************************************** //****************************************
{ "get_weaponname", get_weapon_name }, { "get_weaponname", get_weapon_name },
{ "get_user_weapon", get_user_weapon }, { "get_user_weapon", get_user_weapon },

View File

@ -314,6 +314,11 @@ static cell AMX_NATIVE_CALL cwpn_shot(AMX *amx, cell *params){ // player,wid
return 1; return 1;
} }
static cell AMX_NATIVE_CALL register_forward(AMX *amx, cell *params)
{
return 1;
}
AMX_NATIVE_INFO stats_Natives[] = { AMX_NATIVE_INFO stats_Natives[] = {
{ "get_stats", get_stats}, { "get_stats", get_stats},
{ "get_statsnum", get_statsnum}, { "get_statsnum", get_statsnum},
@ -330,6 +335,7 @@ AMX_NATIVE_INFO stats_Natives[] = {
{ "custom_weapon_add", register_cwpn }, { "custom_weapon_add", register_cwpn },
{ "custom_weapon_dmg", cwpn_dmg }, { "custom_weapon_dmg", cwpn_dmg },
{ "custom_weapon_shot", cwpn_shot }, { "custom_weapon_shot", cwpn_shot },
{ "register_statsfwd",register_forward },
{ NULL, NULL } { NULL, NULL }
}; };