Jump to content

inactivity kick script


AHSS

Recommended Posts

i tried to do this but without a succes

i want the player to be kicked if hes inactive (didnt move) for 10min

i really tried every thing

can u just gimme a hint?

not asking for the whole script

  
x, y, z = getElementPosition(theplayer) 
setTimer(inactivecheck, 600000, 1, theplayer) 
  
function inactivecheck(player) 
 if getElementPosition(player) == x, y, z then 
  kickPlayer 
end 
  

it will be something like that but i dont know when to call the first function and its not with a cmd ofc so i wanna know how to set a timer for it too

i just cant figure out how to do it

i know how to script it but dunno what to script :S

i just wanna know what should i do to make a full inactive kick system

just with words not script :P

also script examples wouldnt be bad :P

ty

Link to comment

np i dont need a script help

no i can script it but the problem is that i dont know how to do it

i just need to know what the script should be like in normal words not a script :P

thanks in advance

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