Thread Author
Member
Dec
Threads
7
125
0
16
Rating - 0%
0   0   0
Hello community,

I need a quest that, for example, when using the item and receiving the bonus, I will no longer be able to use it and, if the player wants to use it, he will receive the message that he has already used it and will no longer be able to use it.
 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,442
2
1,362
113
Rating - 0%
0   0   0
Hello community,

I need a quest that, for example, when using the item and receiving the bonus, I will no longer be able to use it and, if the player wants to use it, he will receive the message that he has already used it and will no longer be able to use it.

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Member
Jul
Threads
5
227
24
18
Rating - 0%
0   0   0
quest xxxxxx begin
state start begin

when xxx.use begin --Enter the ID of the item you want to use
if pc.getqf("xxxx_used") == 0 then -- Enter name the item to use
say_title(item_name(xxx)) - Colocar Id do item
say("")
say("Blá Blá Blá")
say("Blá Blá Blá Blá ")
say("")
say_reward("Blá Blá Blá ")
say("")

local option = select("Yes", "No")

if option == 1 then
say_title(item_name(xxx)) - Colocar Id do item
say("")
say_reward("Blá Blá Blá ! ")
say("")
pc.remove_item("xxxx", 1) -- Enter the ID of the item you want to use
pc.give_item2("xxxx", xx) -- Enter the ID and quantity of the item you want to use
pc.setqf("xxxx_used", 1) -- Marking the stone as used / Enter name the item to use

elseif option == 2 then
return
end
else
say_title(item_name(xxx)) -- Enter the ID of the item you want to use
say("")
say("You have already used item xxxx and cannot use it again. ")
say("")
end
end
end
end
 
Dec
Threads
1
65
107
33
Rating - 0%
0   0   0
Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
saf
 
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock