mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fixed bug at18791 (Maddo)
This commit is contained in:
parent
b6a4514bd0
commit
9ba597b5c1
@ -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 },
|
||||||
|
@ -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 }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user