முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

OnPlayerClickPlayerGangZone

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

This callback is called when a player clicked a player gangzone on the pause menu map (by right-clicking).

NameDescription
playeridThe ID of the player that clicked a player gangzone
zoneidThe ID of the player gangzone the player clicked

Returns​

This callback does not handle returns.

It is always called first in gamemode.

Examples​

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

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