Resulcan Posted April 3, 2020 Posted April 3, 2020 global cheate I just want the Turks to see what I have to do?
Moderators Patrick Posted April 3, 2020 Moderators Posted April 3, 2020 (edited) What? Edited April 3, 2020 by Patrick
Resulcan Posted April 3, 2020 Author Posted April 3, 2020 (edited) I just want the Turks to see Let the correspondence only see Turkish players Edited April 3, 2020 by Resulcan
Moderators Patrick Posted April 3, 2020 Moderators Posted April 3, 2020 (edited) I hope you think chat and not cheat Something like that. (its not the full code, you need to finish it!) -- SERVER function sendMessageToCustomChat(player, cmd, ...) -- TODO: check if `player` can use this command local text = table.concat({...}, " ") for i, target in ipairs(getElementsByType("player")) do -- TODO: check if `target` can see this message outputChatBox(text, target) end end addCommandHandler("chatcommand", sendMessageToCustomChat) Edited April 3, 2020 by Patrick 1
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