Jump to content

Help Ban Details


Sendy

Recommended Posts

Posted

What should I do to me I went to Ban Details Date, Time? Here is a post screen and where it goes.

elseif ( aBans["Serial"][ip] ) then 
        guiSetText ( aBanIP, "Serial: "..ip ) 
        guiSetText ( aBanNick, "Nickname: "..iif ( aBans["Serial"][ip]["nick"], a Bans["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]["banner"], aBans["Serial"][ip]["banner"], "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 ) 
    end 
end 

Ban%20Details.png

Help me :oops:

Posted

No. .. but it is in any admin panel that I download .. and in any what I download it does not work. And that Screene can be seen that this player lil_Toady works. Wiki is the screen.

Posted

what you want ?

please be more clear ,

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

Posted

To get my work in Ban Details Date and Time of any admin panel it does not .. and if it went well, please post what you modified in admin panel etc. ..

Posted
  
bantime = getRealTime(getBanTime(theBan)) 
local day = bantime.day 
local month = bantime.month+1 
local year = bantime.year+1900 
local hour = bantime.hour 
local minute = bantime.minute 
local second = bantime.second 
dateformatted = string.format(%.2d/%.2d/%.4d %.2d:%.2d:%.2d, day, month, year, hour, minute, second) 
  

Gives a formatted date like this:

01/01/0001 00:00:00

Previously known as MrTasty.

Posted
  
bantime = getRealTime(getBanTime(theBan)) 
local day = bantime.day 
local month = bantime.month+1 
local year = bantime.year+1900 
local hour = bantime.hour 
local minute = bantime.minute 
local second = bantime.second 
dateformatted = string.format(%.2d/%.2d/%.4d %.2d:%.2d:%.2d, day, month, year, hour, minute, second) 
  

Gives a formatted date like this:

01/01/0001 00:00:00

That's what I ment earlier when I asked if you scripted the date sequence Sendy.

Seems that you didn't do that.

Need help with something? Message me, and maybe I'll get back to you. And might even do it for a fair price.

Posted
But so it is useless to me .. I need it in admin_ban or Ban Details

If it was useless, MrTasty wouldn't even post the lua codes

Need help with something? Message me, and maybe I'll get back to you. And might even do it for a fair price.

Posted
But so it is useless to me .. I need it in admin_ban or Ban Details

If it was useless, MrTasty wouldn't even post the lua codes

So write at least where should I put it? :o

Posted

Try learning some english first and of course more importantly some scripting as well, you have no idea at all about what you're doing here as i can see so far.

That thing has to go wherever the bans get sent to client. If you knew the basics of scripting you would know that.

"You're trying to run but can't even walk yet"

Lua Scripter

?ucet=miki_cz

Owner of mshost.cz MTA portal.

Posted

Don't understand him wrong though, We're all here to help eachother out. But, eventually you have to do it yourself.

Need help with something? Message me, and maybe I'll get back to you. And might even do it for a fair price.

Posted

I do not know what is wrong .. what do I have to send someone to fix it to make it go .. or send me at least one normal admin panel where it comes in Ban Details Date, Time

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...