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.