Results 1 to 2 of 2

Thread: PM hud.

  1. #1
    Normal User
    Join Date
    Oct 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    PM hud.

    Hello i am looking for a HUD wich shows me who recently PM'd me in game, like last 10 private messages or something!
    looked at the HUD threads but didnt find any..

    Appreaciate it if someone does one or link me to one

    Thanks.

  2. #2
    Normal User Nikare's Avatar
    Join Date
    Aug 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    PHP Code:
    -- max lines to display at once 
    local maxindex 
    20
    -- spacing between lines
    local spacing 
    10
    local index 
    0
    local msgs 
    getmessages("Local Chat")
    local qtd msgs.count-1
    for i=0,qtd do
    if 
    msgs[qtd-i].type == 6
    then
    setfontcolor
    ("cyan")
    addtext(msgs[qtd-i].textworldwin.left+10,worldwin.top+30+(index*spacing))
    index=index+1
    if index == maxindex then
    break
    end
    end
    end 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •