Hercules Elf Bot - Mar 13, 2012 19:35
Originally posted by [b]Daegaladh[/b]
Auction system messages should be moved to msg_athena.conf instead of being hardcoded, for easy translate them into other languages.
example:
[CODE]mail_sendmail(0, "Auction Manager", auction->buyer_id, auction->buyer_name, "Auction", "Thanks, you won the auction!.", 0, &auction->item);
mapif_Auction_message(auction->buyer_id, 6); // You have won the auction
mail_sendmail(0, "Auction Manager", auction->seller_id, auction->seller_name, "Auction", "Payment for your auction!.", auction->price, NULL);
}
else
mail_sendmail(0, "Auction Manager", auction->seller_id, auction->seller_name, "Auction", "No buyers have been found for your auction.", 0, &auction->item);
ShowInfo("Auction End: id %u.\n", auction->auction_id);[/CODE]
This post has been edited by
Daegaladh
on Mar 13, 2012 19:35
Hercules Elf Bot - Mar 13, 2012 19:37
Originally posted by [b]Gepard[/b]
Duplicate of [bug:2265]