warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
OnPlayerClickPlayerGangZone
warning
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Description
This callback is called when a player clicked a player gangzone on the pause menu map (by right-clicking).
Name | Description |
---|---|
playerid | The ID of the player that clicked a player gangzone |
zoneid | The 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;
}
Related Functions
The following functions might be useful, as they're related to this callback in one way or another.
- CreatePlayerGangZone: Create a player gangzone.
- PlayerGangZoneDestroy: Destroy a player gangzone.