Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local OBJECTID = 250001
- local CREATUREID = 6788
- local function OnCacheUse(event, go, plr)
- local playerPositions = {}
- local mapId, posX, posY, posZ, orientation = plr:GetMapId(), plr:GetX(), plr:GetY(), plr:GetZ(), plr:GetO()
- playerPositions[plr:GetGUIDLow()] = {mapId, posX, posY, posZ, orientation}
- worldobject = PerformIngameSpawn(1, CREATUREID, mapId, 0, posX, posY, posZ, orientation, false, 0)
- worldobject:SetPhaseMask(2, true)
- end
- RegisterGameObjectEvent(OBJECTID, 14, OnCacheUse)
Advertisement
Add Comment
Please, Sign In to add comment