Wisam Posted August 27, 2014 Posted August 27, 2014 HEy i just wanted to make a script that allows ADMINS to kick all the players in the server for a specific reason with a command like /kickall , so if you know somthing that could help me please tell me.. i don't mean the functions only myabe some hints too.. and if you could help me do it with a gui too that'd be great ☣ Plauge Arma II DayZ Mod Server ☣ Here's the link to stay tuned with the server progress and features: https://forum.mtasa.com/viewtopic.php?f=114&t=96675 Get Ready to play DayZ like you never did before
Wei Posted August 27, 2014 Posted August 27, 2014 function kickall(thePlayer, cmd, ...) text = table.concat({...}, " ") for _, player in ipairs (getElementsByType("player")) do kickPlayer(player,thePlayer , text) end end addCommandHandler("kickall", kickall) Diet with russian vodka, lose 3 days in one week !
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