New scripts for the opening private areas, as well as db updates.

This commit is contained in:
Filip Maj 2017-03-07 08:32:57 -05:00
parent e898c045f7
commit d918ad3776
29 changed files with 412 additions and 183 deletions

View file

@ -61,7 +61,7 @@ function onTrigger(player, argc, p1, p2, p3, p4, privateArea, name, lastName)
local z = tonumber(applyPositionOffset(p4, player_z)) or player_z;
if privateArea == "" then privateArea = nil end;
player:SendMessage(messageID, sender, string.format("setting coordinates X:%d Y:%d Z:%d to new zone (%d) private area:%s", x, y, z, zone, privateArea or "unspecified"));
worldManager:DoZoneChange(player, zone, privateArea, 0x02, x, y, z, 0.00);
worldManager:DoZoneChange(player, zone, privateArea, 0, 0x02, x, y, z, 0.00);
end
else