I managed to get the hello insim program working. How could I now do almost the same program but that shows me coordinates that my car is. I should use MCI packet, but I don't know exactly how. :/ Could anyone help me.
I tried to change the MSTs to MCI but that didn't work. :S
Here is the original Hello insim program:
I tried to change the MSTs to MCI but that didn't work. :S
Here is the original Hello insim program:
import pyinsim
# Initialize InSim.
insim = pyinsim.insim('127.0.0.1', 29999, Admin='password')
# Send message packet to LFS.
insim.send(pyinsim.ISP_MST, Msg='Hello, InSim!')
# Run pyinsim.
pyinsim.run()