Xabache Posted March 5, 2015 Posted March 5, 2015 onPlayerQuit I have player stats and scores to record... what happens when they get kicked? I did not find an onPlayerKicked event, did I miss it? Some players get kicked and do not return immediately. How do i record stats and scores after a kick as though it were a quit?
Moderators IIYAMA Posted March 5, 2015 Moderators Posted March 5, 2015 onPlayerQuit Parameters string quitType, string reason, element responsibleElement quitType: How the player left. This argument can be: "Unknown" "Quit" "Kicked" "Banned" "Bad Connection" "Timed out" Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now