Ugrás a fő tartalomhoz

GangZoneHideForAll

Description

GangZoneHideForAll hides a gangzone from all players.

NameDescription
zoneidThe zone to hide.

Returns

This function does not return any specific values.

Examples

new gGangZoneId;

public OnGameModeInit()
{
gGangZoneId = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp(cmdtext, "/hidezone", true))
{
GangZoneHideForAll(gGangZoneId);
return 1;
}
return 0;
}