Jump to content

[HELP] Please


Sendy

Recommended Posts

Could please someone help me? I would like to make it did not show hexes but somehow it does not work (and what's Reason: test (nick: Sendy) so that it was Reason: test.

And yet it showed that the Date and Time.

elseif ( aBans["Serial"][ip] ) then 
        guiSetText ( aBanIP, "Serial: "..ip ) 
        local nick = string.gsub(aBans["Serial"][ip]["nick"], "#%x%x%x%x%x%x", "") 
        guiSetText ( aBanNick, "Nickname: "..iif ( aBans["Serial"][ip]["nick"], aBans["Serial"][ip]["nick"], "Unknown" ) ) 
        guiSetText ( aBanDate, "Date: "..iif ( aBans["Serial"][ip]["date"], aBans["Serial"][ip]["date"], "Unknown" ) ) 
        guiSetText ( aBanTime, "Time: "..iif ( aBans["Serial"][ip]["time"], aBans["Serial"][ip]["time"], "Unknown" ) ) 
        guiSetText ( aBanBanner, "Banned by: "..iif ( aBans["Serial"][ip]["nick"], aBans["Serial"][ip]["nick"], "Unknown" ) ) 
        if ( aBanReason ) then destroyElement ( aBanReason ) end 
        aBanReason = guiCreateLabel ( 0.03, 0.60, 0.80, 0.30, "Reason: "..iif ( aBans["Serial"][ip]["reason"], aBans["Serial"][ip]["reason"], "Unknown" ), true, aBanForm ) 
        guiLabelSetHorizontalAlign ( aBanReason, "left", true ) 
        guiSetVisible ( aBanForm, true ) 
        guiBringToFront ( aBanForm ) guiSetText ( aBanNick, "Nickname: "..iif ( aBans["Serial"][ip]["nick"], aBans["Serial"][ip]["nick"], "Unknown" ) ) 
    end 
end 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...