Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local checkPlayerSide
- do
- local ax, ay = 0.50113236904144, 0.23455506563187
- local bx, by = 0.55053389072418, 0.34473431110382
- function checkPlayerSide()
- BigWigsLoader.SetMapToCurrentZone()
- local cx, cy = GetPlayerMapPosition("player")
- if cy == 0 then return 0 end
- return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) -- mantid > 0 > mogu
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement