ข้ามไปยังเนื้อหาหลัก

IsPlayerInGangZone

คำเตือน

ฟังก์ชันนี้ถูกเพิ่มใน omp v1.1.0.2612 และจะไม่ทำงานในเวอร์ชันก่อนหน้า!

Description​

Check if the player in gangzone.

NameDescription
playeridThe ID of the player to check if he is in a gangzone.
zoneidThe ID of the gangzone.

Returns​

true - The player is in gangzone.

false - The player is not in gangzone.

Notes​

คำเตือน
  • This function is for open.mp, not SA-MP. To use with SA-MP, you need the YSF plugin.
  • This function cannot be used without UseGangZoneCheck being called first.