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

OnPlayerLeaveGangZone

คำเตือน

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

Description​

This callback is called when a player exited a gangzone

NameDescription
playeridThe ID of the player that exited the gangzone.
zoneidThe ID of the gangzone the player exited.

Returns​

It is always called first in gamemode.

Examples​

public OnPlayerLeaveGangZone(playerid, zoneid)
{
new string[128];
format(string, sizeof(string), "You are leaving gangzone %i", zoneid);
SendClientMessage(playerid, 0xFFFFFFFF, string);
return 1;
}

The following callbacks might be useful, as they're related to this callback in one way or another.

The following functions might be useful, as they're related to this callback in one way or another.