fairyoggy Posted August 23, 2019 Posted August 23, 2019 How to ban a player if he is not on the server? GetAccountByID I can ban a player by parameter "player" but how to ban by parameter "account" ?
Moderators IIYAMA Posted August 23, 2019 Moderators Posted August 23, 2019 @slapz0r local serial = getAccountSerial ( account ) if serial then addBan (nil, nil, serial) end 1 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