### Function: SetCanGate(spawn, cangate)

**Description:**
Sets if the zone allows gate in the area.

**Parameters:**
- `spawn` (Spawn) - Spawn object representing `spawn`.
- `cangate` (int32) - Integer value `cangate`.

**Returns:** None.

**Example:**

Example Required
