def ChangeViewAngles(x, y):
while True:
pm.write_uchar(engine + dwbSendPackets, 0)
Commands = pm.read_int(client + dwInput + 0xF4)
Desired = pm.read_int(enginepointer + clientstate_last_outgoing_command) + 2
OldUser = Commands + ((Desired - 1) % 150) * 100
Net_Channel = pm.read_uint(enginepointer + clientstate_net_channel)
if pm.read_int(Net_Channel + 0x18) == Desired:
pm.write_float(OldUser + 0x0C, x)
pm.write_float(OldUser + 0x0C + 0x4, y)
pm.write_int(client + dwForceAttack, 6)
pm.write_uchar(engine + dwbSendPackets, 1)
ChangeViewAngles(121.1, 20.0)