Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 04:17

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

Advertisement



[Help]Quest function-player has premium

Discussion on [Help]Quest function-player has premium within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 111
Received Thanks: 1
[Help]Quest function-player has premium

Helo, is possible check, that player has premium ? (gold_expirein in table account)
In game in quest.
Thank you
xworldx is offline  
Old 11/06/2012, 15:55   #2
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
check only or give some premium thinks?
©by Noa is offline  
Thanks
1 User
Old 11/06/2012, 16:03   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 111
Received Thanks: 1
only check (true/false)

i can write quest
if pc.has_premium() then
somethink
end ....
xworldx is offline  
Old 11/06/2012, 16:10   #4
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
so idunno what u want to use, only a check premium quest or use with somethink ?

PHP Code:
local premi pc.getqf("premium")
if 
premi ==1 then     -- true
    say
("when you have premium")
else                -- 
false
    say
("you have not premium")
end 
©by Noa is offline  
Old 11/06/2012, 16:22   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 111
Received Thanks: 1
use, for example players with have premium can have some special quest, or can have use some special thinks
i need function, which check, has player premium or not
xworldx is offline  
Old 11/06/2012, 16:28   #6
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
Use this function

if pc.get_name() with pc.getqf("premium")==1 then -- if that player name has
©by Noa is offline  
Old 11/06/2012, 19:42   #7
 
clad3815's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 290
Received Thanks: 227
Use this :
if pc.get_premium_remain_sec(PREMIUM_EXP) > 0 then
clad3815 is offline  
Reply


Similar Threads Similar Threads
d.exit_all() function in quest
07/27/2012 - Metin2 Private Server - 0 Replies
Hi ! What are the condition for the function : d.exit_all() to work ? Thx !
[HELP] Function quest error
05/30/2012 - Metin2 Private Server - 2 Replies
hi I got an error when doing make.sh someone can help me plzzzz img: http://i.epvpimg.com/dxDqe.png plzz someone can help me plzzzz??????
Quest Function
03/08/2012 - CO2 Private Server - 5 Replies
I have a question for the following code posted below. I managed to add albetro's Quest functions/actions on a source based on Impulse/Hybrids work. It was a success, however there seems to be an issue when attempting to run the packet properly. When logging in I can see the quest list but they all say (Completed) as in I can't take the quests nor use a pathfinder for them. A simple solution would be helpful as I feel this works yet it doesn't. { ...
[Quest]Banking-Function Extended
09/21/2011 - Metin2 PServer Guides & Strategies - 26 Replies
Hi, hier mal eine Banking-Funktion, mit der jeder Spieler bis zu 4.611.686.016.279.904.256 Yang speichern kann (nicht nur 2.147.483.647), und das mithilfe von nur 2 Quest-Flags. function bankdialog() say_title("Lagerverwalter:") say("Ich biete dir die Möglichkeit, dein Yang") say("Zinsenfrei aufzubewahren.") say("Du kannst jedoch maximal einen Betrag") say("von 4.611.686.016.279.904.256 Yang")
[SEARCH] Quest function
09/15/2011 - Metin2 Private Server - 2 Replies
Hello e*pvp community! I'am writing a arena pvp quest, and I need a function, which will give me the result of my opponent's name... I got my name with function: pc.get_name() But I need to get name of the character which I killed... Please, any help with quest function/method was be respected! :) Mfg bull



All times are GMT +1. The time now is 04:17.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.