Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local my_move = false
- function draw_text()
- player = entities.GetLocalPlayer();
- if player:IsAlive() then
- draw.Color(255, 0, 0, 255);
- if my_move then
- jump = player:GetProp("m_fFlags")
- if jump < 257 then
- gui.SetValue("rbot_antiaim_move_pitch_real", 4);
- gui.SetValue("rbot_antiaim_stand_pitch_real", 4);
- else
- gui.SetValue("rbot_antiaim_move_pitch_real", 1);
- gui.SetValue("rbot_antiaim_stand_pitch_real", 1);
- end
- end
- end
- end
- function move(UserCmd)
- if UserCmd:GetForwardMove() ~= 0.0 then
- my_move = true
- else
- my_move = false
- end
- end
- callbacks.Register("CreateMove", "move", move);
- callbacks.Register( "Draw", "draw_text", draw_text );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement