423 B
423 B
Obeys.js
function main(c) { var s = c.getSubject(); var pos = s.getPosition(); var yaw = s.getYaw(); s.lockPosition(pos.x, pos.y, pos.z); s.getStates().setString("obey_pitch", "0"); s.getStates().setString("obey_yaw", "" + yaw);
Mappet API: executeScript