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

GetDefaultPlayerColour

คำเตือน

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

Description​

Gets the default colour for the player ID.

NameDescription
playeridThe ID of the player to get the colour of. Doesn't need to be connected.

Returns​

The player's default color.

Examples​

new colour = GetDefaultPlayerColour(playerid);