Jump to content

help me in File client plz!


viros

Recommended Posts

Posted

hi all

I worked mode anti-s0bet

Worked file server

but I cannot I'm working file clinet :cry:

plz help me in file client

server

function banPlayerCommand ( theClient, commandName, bannedName, reason ) 
  
    if ( hasObjectPermissionTo ( theClient, "function.banPlayer" ) ) then 
        local bannedPlayer = getPlayerFromNick ( bannedName ) 
  
        banPlayer ( bannedPlayer, theClient, reason ) 
        outputChatBox ( "ban: " .. bannedName .. " successfully banned", theClient ) 
  
    else 
        outputChatBox ( "ban: You don't have enough permissions", theClient ) 
    end 
  
end 
addCommandHandler ( "ban", banPlayerCommand ) 
  
function banCheater(theCheater) 
    banPlayer(theCheater, getRootElement(), "You are banned because of cheating.") 
end 

Posted

Your English makes your posts hard to understand.

I don't understand what do you want to achieve?

If you expect us to "make client for anticheat" - sorry, we are not machines fulfilling requests.

As i can see you have only serverside, probably taken from wiki.

Posted

for me it looks like he have banning function, now he is expecting us to write the detecting functions, so he can add his banning functions on the end of every detect function :P

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