Hey, i tried to make a script for the P-Server i'm playing on. But i can't Mount/Unmount my horse/pet through commands. I tried
//Nothing happens
net.SendChatPacket("/ride")
net.SendChatPacket("/mount")
net.SendChatPacket("/mount_horse")
net.SendChatPacket("/use_horse_ride ")
//Nothing happens either
player.SetSingleDIKKeyState(app.DIK_LCONTROL, 1)
player.SetSingleDIKKeyState(app.DIK_H, 1)
player.SetSingleDIKKeyState(app.DIK_LCONTROL, 0)
player.SetSingleDIKKeyState(app.DIK_H, 0)
//Spawns a white horse and i'm lying on the ground
chr.MountHorse()
chr.DismountHorse()
but none of them work.
Is there another way to do this ?
Greets
Martion