Jump to content
×
×
  • Create New...
  • 0

Mount horse Script python *Question


Martion69

Question

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

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

    8. 0

      [BUG] Can't select my own character (Select Target)

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.