إنتقل إلى المحتوى الرئيسي

OnPlayerEnterGangZone

تحذير

أُضيف هذا العنصر (دالة رد نداء) في الإصدار omp v1.1.0.2612 ولا يعمل في الإصدارات الأقدم!

Description​

This callback is called when a player enters a gangzone

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

Returns​

It is always called first in gamemode.

Examples​

public OnPlayerEnterGangZone(playerid, zoneid)
{
new string[128];
format(string, sizeof(string), "You are entering 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.