Перейти к основному содержимому

OnPlayerEnterPlayerGangZone

Предупреждение

В версии omp v1.1.0.2612 добавлено следующее: колбэк. В более ранних версиях это не работает!

Description​

This callback is called when a player enters a player gangzone.

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

Returns​

It is always called first in gamemode.

Examples​

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