[server] Implement and match n_SetDisabledWeapons(...)

This commit is contained in:
RD42
2024-04-27 18:28:56 +08:00
parent 2555feb8d4
commit 124e2e895a
+8 -2
View File
@@ -363,12 +363,18 @@ static cell AMX_NATIVE_CALL n_AllowAdminTeleport(AMX *amx, cell *params)
return 0;
}
//----------------------------------------------------------------------------------
// native SetDeathDropAmount(amount)
static cell AMX_NATIVE_CALL n_SetDeathDropAmount(AMX *amx, cell *params)
{
// TODO: SetDeathDropAmount
return 0;
CHECK_PARAMS(1);
pNetGame->m_iDeathDropMoney = params[1];
return 1;
}
//----------------------------------------------------------------------------------
static cell AMX_NATIVE_CALL n_CreateExplosion(AMX *amx, cell *params)
{
// TODO: CreateExplosion