Jump to content
  • 0

Pvp Awards Color


nortim

Question

2drrleb.png

 

Boa tarde maxcheaters, tenho um pouco de dúvida ..
Como posso colocar o anúncio pvp premio para aparecer em amarelo igual à foto acima?
 
Eles estavam com um varejo .. queria colocá-los em amarelo ..
Eles parecem com isso:
5tvvwi.jpg
Minha linha tem esta aparência: sendMessage ("Voce obteve" + quantidade + "unidade de" + reward.getName () + ".");
 
Meu projeto é L2JFrozen
 
Código: 

 
If (Config.PVP_REWARD_ENABLED)
Se (Config.PVP_REWARD_ENABLED1)
{
Final item int = Config.PVP_REWARD_ID;
Final int item1 = Config.PVP_REWARD_ID1;
Final L2Item recompensa = ItemTable.getInstance (). GetTemplate (item);
Final L2Item reward1 = ItemTable.getInstance (). GetTemplate (item1);
 
Final int amount = Config.PVP_REWARD_AMOUNT;
Final int amount1 = Config.PVP_REWARD_AMOUNT1;
 
GetInventory (). AddItem ("Ganhar PvP", Config.PVP_REWARD_ID, Config.PVP_REWARD_AMOUNT, isto, nulo);
GetInventory (). AddItem ("Ganhando PvP", Config.PVP_REWARD_ID1, Config.PVP_REWARD_AMOUNT1, isto, nulo);
SendMessage ("Voce obteve" + quantidade + "unidade de" + reward.getName () + ".");
SendMessage ("Voce obteve" + quantidade1 + "unidades de" + reward1.getName () + ".");
}

Edited by nortim
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

The "color" is simply addItem( with boolean true to send message.

 
I created the line here in SystemMessageId however everyone who has it has the $ 1 in the sentence, and mine is different ..
Example:
 
/**
* ID: 2155<br>
* Message: $s1 request teleport to $s2. Do you accept?
*/
S1_REQUEST_TELEPORT_TO_S2_DO_YOU_ACCEPT(2155), 
 
My line looks like this:
 
sendMessage ("Voce obteve" + quantidade + "unidade de" + reward.getName () + ".");
 
 
How do I have to stay so I can call the pvp line?
Link to comment
Share on other sites

  • 0

As said before, the same, similar way. $s1, $s2 will be replaced with proper code line. Search over eclipse for the code and see how it works.

Edited by SweeTs
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • from what it seems the whole server left, rofl, only one still online is the bot clan u give gear to 
    • Good luck with your sales buddy. You can re-design the html (action) part and the item engine. (You got a retail trade system 😉 )
    • Experience the best of Lineage 2 on L2 Exalta, a server that brings you the authentic retail gameplay you've been craving. Our Interlude client-based server is meticulously designed to provide an immersive and balanced experience that stays true to the original game.   L2 Exalta stands out from the rest by offering a unique feature: it is a server that is not focused on crafting. We understand that some players prefer to focus on other aspects of the game, and our server is tailored to provide a seamless experience without the emphasis on crafting.   Enjoy enticing server stats, including rates of x50 for experience, x200 for skill points, and x200 for adena, ensuring steady progression and a thrilling adventure. We pride ourselves on maintaining retail items and retail farm items, including adena and ancient adena, to create an authentic and familiar gaming environment.   Join our vibrant community on Facebook at https://www.facebook.com/profile.php?id=100092629147488 and connect with fellow adventurers. Share strategies, stay updated with the latest news, and forge lasting friendships. For real-time communication and coordination, our dedicated Discord server at https://discord.gg/nayhtZ7v8J provides a platform to engage with like-minded players, form alliances, and plan epic battles.   Don't miss out on this incredible opportunity to delve into the world of Lineage 2 on L2 Exalta. Join us now and embark on an unforgettable journey filled with challenges, camaraderie, and the exhilaration of conquering the realm. Experience Lineage 2 the way it was meant to be played, without the emphasis on crafting!     LINEAGE 2 EXALTA BASIC INFORMATION & RATES RATES Experiece :       x50 Skill Points :    x200 Adena :            x200 Drop :               x1 Spoil :               x1 Epic Bosses : x1 BASIC INFORMATION Sub Classes :             Adena Noblesse Quest :     Barakiel Change Class:         Free Buff Slots :                  30+4 Skills:                            Auto learning Equipment :              Armor / Weapons / Jewels Olympiad Period: 2 weeks Skills :                         Interlude   ENCHANT RATES Weapon Enchant Rate : 65% and dropping Armor Enchant Rate :     65% and dropping Jewels Enchant Rate :    65% and dropping Weapon Max Enchant : 25 Armor Max Enchant :     20 Jewels Max Enchant :    20 Weapon Safe Enchant : 3 Armor Safe Enchant :     3 Jewels Safe Enchant :    3 AUGMENT RATES Augment Skills :           Active Or Passive Life Stones :                        1% Mid Grade Life Stone :  2% High Grade Life Stone: 3% Top Grade Life Stone :   5%   BETA OPENING 17/06/2023 20:00 GMT +3 GRAND OPENING 24/06/2023 20:00 GMT +3 WEBSITE
    • any edit on "onscreendamage" for damage received? or even mp cp hp healing
    • Based on 2 projects means you have ripped what you could from them.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock