575 B
575 B
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.
Example:
-- From ItemScripts/BetaVoucher.lua
function examined(Item, Spawn)
Zone(GetZone(1), Spawn, 48.28, -1.08, 44.05, 221.37)
end