Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 06:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



The key event.

Discussion on The key event. within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 10
Received Thanks: 0
The key event.

How to do event which will be started after pressing the button (for example F10). I know for sure that i will need editing client. But someone know what ?


Pseudo code, to visualize what I mean xD
Code:
when pressed."F5" begin
say_title("Server:")
say("You have pressed F5")
end
Fovi is offline  
Old 10/25/2012, 17:27   #2
 
elite*gold: 726
Join Date: Jul 2010
Posts: 14,233
Received Thanks: 7,915
In Python? If yes, try it with:

PHP Code:
if (app.IsPressed(app.DIK_F5) == TRUE):
        
chat.AppendChat(chat.CHAT_TYPE_INFO"You have pressed F5!) 
noahrmal is offline  
Old 10/25/2012, 20:43   #3
 
elite*gold: 0
Join Date: May 2011
Posts: 10
Received Thanks: 0
It is not exactly what i needs. I want to pressing button will activates a server side quest (in lua). If it is imposible to do or just hard, Is it possible to add new command ?
For example:
Code:
when pc.wrote("/TeleMenu") begin
     say_title("Server:")
     say("Welcome in tele-menu.")
end
again... pseudcode xD
Fovi is offline  
Reply


Similar Threads Similar Threads
[Introducing Event (CBT Homepage Open Event)] Digimon masters online in English
08/05/2011 - Main - 0 Replies
digimon masters online is at last in english the closed beta is going to be out next 9th august 8/9/2011 i wish all could join thank you all for viewing :):)



All times are GMT +1. The time now is 06:46.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.