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

This commit is contained in:
RD42 committed 2024-04-27 21:11:03 +08:00
1 parent 9e30ad1fce
commit 798d8e1b50
1 file changed
+6 -2
+6 -2
View File
@@ -358,10 +358,14 @@ static cell AMX_NATIVE_CALL n_EnableVehicleFriendlyFire(AMX *amx, cell *params)
return 1;
}
//----------------------------------------------------------------------------------
// native AllowInteriorWeapons(allow)
static cell AMX_NATIVE_CALL n_AllowInteriorWeapons(AMX *amx, cell *params)
{
// TODO: AllowInteriorWeapons
return 0;
CHECK_PARAMS(1);
pNetGame->m_bAllowWeapons = (bool)params[1];
return 1;
}
static cell AMX_NATIVE_CALL n_SetGravity(AMX *amx, cell *params)