Jump to content

Help-me !


Dinossauro

Recommended Posts

Hello

I made a script to log out of the server. Players write / exit and passed 5 seconds come out!

function KickPlayer(thePlayer,reason) 
    kickPlayer ( thePlayer, "Console", reason ) 
end 
  
function kickPlayerHandler ( sourcePlayer, commandname, kickedname, reason ) 
    local reason = "You came out successfully." 
    outputChatBox ( "You will leave the server, in 5 seconds" ) 
    setTimer ( KickPlayer, 5000, 1, sourcePlayer,reason ) 
end 
addCommandHandler ( "exit", kickPlayerHandler) 

But I wanted a player that you see in writing / exit, writes up / reconnect or / quit, were fined. That is lost deaths in the five tab ...

Help, thanks.

Link to comment
Hello

I made a script to log out of the server. Players write / exit and passed 5 seconds come out!

function KickPlayer(thePlayer,reason) 
    kickPlayer ( thePlayer, "Console", reason ) 
end 
  
function kickPlayerHandler ( sourcePlayer, commandname, kickedname, reason ) 
    local reason = "You came out successfully." 
    outputChatBox ( "You will leave the server, in 5 seconds" ) 
    setTimer ( KickPlayer, 5000, 1, sourcePlayer,reason ) 
end 
addCommandHandler ( "exit", kickPlayerHandler) 

But I wanted a player that you see in writing / exit, writes up / reconnect or / quit, were fined. That is lost deaths in the five tab ...

Help, thanks.

you made it?

you use my code

viewtopic.php?f=91&t=47747

i won't help you anymore

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