AreInteriorWeaponsAllowed
注意
此函式於 omp v1.1.0.2612 版本中新增,在更早的版本中無法使用!
Description
Can weapons be used in interiors?
Returns
true: Allowed.
false: Not allowed.
Examples
if (AreInteriorWeaponsAllowed())
{
// Do something
}
Related Functions
- AllowInteriorWeapons: Toggle whether the usage of weapons in interiors is allowed or not.