Jump to content
TrinityCore

BRABUS

Plebs
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

BRABUS last won the day on September 2 2017

BRABUS had the most liked content!

BRABUS's Achievements

Newbie

Newbie (1/14)

-6

Reputation

  1. Sorry, close topic! Answe: SOAP!
  2. Hi all, im trying now to make an php custom market for buying an items in website, and i would ask for help. Which is the proper way to add/send items to player with in-game mail? I need to add new entry in mail, mail_item, and item_instance ??? Something like that? $mail->insert( 'mail', array( 'messageType' => 0, 'stationery' => 61, 'mailTemplateId' => 0, 'sender' => 1, 'receiver' => 2, 'subject' => 'Market item', 'body' => 'You have successfully buyed an item from market!', 'has_items' => 1, 'checked' => 0 ), array( '%d', '%d', '%d', '%d', '%d', '%s', '%s', '%d', '%d' ) ); $mail->insert( 'mail_items', array( 'mail_id' => 44, 'item_guid' => 61, // ???? 'receiver' => 0 ), array( '%d', '%d', '%d' ) ); Thanks.
×
×
  • Create New...