Function: IsGateAllowed(spawn)
Description:
Return's true if gate is allowed in the zone for the Spawn otherwise false.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: Return's true if gate is allowed in the zone for the Spawn otherwise false.
Connection lifetime: Each player or group-member connection resolved by this function is retained through the native call. A disconnect or reconnect during a callback cannot destroy that retained connection or switch the ongoing call to a replacement. A later Lua call resolves the current connection. This does not extend the lifetime of unrelated spawn or item userdata.