Jump to content

mta minimized script


sagi100

Recommended Posts

13 hours ago, sagi100 said:

but i dont know , that why i ask , just give me something i will try to handle with it 

addEventHandler() 
onClientMinimize event
getRealTime()
outputChatBox() 

Read the wiki's of these things and try to build it yourself. With this amount of information, you should be able to. If not, you either don't know Lua basics or programming is not for you. 

Link to comment
  • Moderators

99% of people who request this do not learn anything about it, since the do not know lua. They do not even realize that learning it that way doesn't work at all. The only thing they do learn about it, is that it is really easy to let other people doing their work for free.

So, what makes you that 1%? That precious 1%, which I think they deserve that kind of attention. The situation: To receive finished code without knowing lua.

Gollum-Ring.jpg?quality=90&resize=650,35

 

  • Like 2
Link to comment
4 hours ago, WorthlessCynomys said:

addEventHandler() 
onClientMinimize event
getRealTime()
outputChatBox() 

Read the wiki's of these things and try to build it yourself. With this amount of information, you should be able to. If not, you either don't know Lua basics or programming is not for you. 

function handleMinimize2(thePlayer)
if getElementData(thePlayer,"state") == "alive" then
outputChatBox ( getPlayerName(thePlayer):gsub("#%x%x%x%x%x%x","").." #ffffffMinimized" ,getRootElement(), 255, 255, 255, true)
end
end
addEvent( "gowno", true )
addEventHandler( "gowno", root, handleMinimize2 )
addEventHandler(handleMinimize2(thePlayer) 
onClientMinimize event
function showtime ()
    local time = getRealTime()
    local hours = time.hour
    local minutes = time.minute
    outputChatBox ( "Local Time: "..hours..":"..minutes )
end
outputChatBox() 

 

is that good?

Link to comment
4 hours ago, sagi100 said:

function handleMinimize2(thePlayer)
if getElementData(thePlayer,"state") == "alive" then
outputChatBox ( getPlayerName(thePlayer):gsub("#%x%x%x%x%x%x","").." #ffffffMinimized" ,getRootElement(), 255, 255, 255, true)
end
end
addEvent( "gowno", true )
addEventHandler( "gowno", root, handleMinimize2 )
addEventHandler(handleMinimize2(thePlayer) 
onClientMinimize event
function showtime ()
    local time = getRealTime()
    local hours = time.hour
    local minutes = time.minute
    outputChatBox ( "Local Time: "..hours..":"..minutes )
end
outputChatBox() 

 

is that good?

No. Next time use the <> sign. 

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