Register for your free account! | Forgot your password?

You last visited: Today at 09:04

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

Advertisement



Quest functions

Discussion on Quest functions within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
deyan4you's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 28
Received Thanks: 2
Quest functions

Hello,i need a quest functions for inventory full : when someoane try to open Truhen,and inventory is full,her not work to open truhen.


Sorry,for my bad Enghlish..
deyan4you is offline  
Old 01/24/2013, 16:46   #2
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
PHP Code:
quest treasure begin
    state start begin
        when id
.use begin
            
if pc.get_empty_inventory_count()>= count of empty slotzs then
                pc
.give_item2(id,count)
            else
                
say("you need more space")
            
end
        end
    end
end 
©by Noa is offline  
Old 01/25/2013, 14:06   #3
 
deyan4you's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 28
Received Thanks: 2
Quote:
Originally Posted by ©by Noa View Post
PHP Code:
quest treasure begin
    state start begin
        when id
.use begin
            
if pc.get_empty_inventory_count()>= count of empty slotzs then
                pc
.give_item2(id,count)
            else
                
say("you need more space")
            
end
        end
    end
end 
Where i can put this function ? i make this quest ,and don't work ...
"syntax error : [string "start"]:1: `then' expected near `of'
treasure.quest:9:Abort (core dumped)"
deyan4you is offline  
Old 01/26/2013, 20:07   #4
 
deyan4you's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 28
Received Thanks: 2
Upp !
deyan4you is offline  
Closed Thread


Similar Threads Similar Threads
All Quest Functions Over 670 functions
06/08/2013 - Metin2 PServer Guides & Strategies - 21 Replies
Gretings this is very simple tut ther is all organized quest functions based on last pub rev 2089 If you know some quest functions is not ther let me know "if valid function of corse" addimage addmapsignal add_bgm_info
[SPECIAL TEAM_WARP QUEST]'nd Metin2 Sweet Time Quest's Icons and News
01/27/2013 - Metin2 PServer Guides & Strategies - 22 Replies
deleted!
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder



All times are GMT +2. The time now is 09:04.


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.