Function: Zone(zone, player, x, y, z, heading)
Description: Zone the player to the destination zone,x,y,z,heading.
Parameters:
zone(Zone) - Zone object representingzone.player(Spawn) - Spawn object representingplayer.x(int32) - Integer valuex.y(int32) - Integer valuey.z(int32) - Integer valuez.heading(int32) - Integer valueheading.
Returns: None.
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.