Results 1 to 2 of 2

Thread: [PEDIDO] hud com private message

  1. #1
    Normal User
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    [PEDIDO] hud com private message

    Alguem tem alguma hud que as private messages ficam na tela?

  2. #2
    iBot User
    Join Date
    May 2012
    Location
    BRASIL
    Posts
    390
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    54 Post(s)
    Reputation
    13
    Rep Power
    5
    aki

    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 


    vendo 300k em amera R$4,00 - mande pm

Posting Permissions

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