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

This commit is contained in:
RD42 2024-04-27 21:10:38 +08:00
parent 0ee6b84fd4
commit 9e30ad1fce

View File

@ -350,10 +350,12 @@ static cell AMX_NATIVE_CALL n_EnableTirePopping(AMX *amx, cell *params)
return 1;
}
//----------------------------------------------------------------------------------
// native EnableVehicleFriendlyFire()
static cell AMX_NATIVE_CALL n_EnableVehicleFriendlyFire(AMX *amx, cell *params)
{
// TODO: EnableVehicleFriendlyFire
return 0;
pNetGame->m_bVehicleFriendlyFire = TRUE;
return 1;
}
static cell AMX_NATIVE_CALL n_AllowInteriorWeapons(AMX *amx, cell *params)