Unkovic Posted September 6, 2018 Share Posted September 6, 2018 function CC(player, cmd) if(tonumber(getPlayerAnnounceValue(player, "Admin")) > 0) then clearChatBox() outputChatBox("#7C7A7A [#560000 WARBOOT #7C7A7A] #FF0000 [JETPACK] #FFFFFF ChatBox cleared by Admin", getAllPlayers(), 255, 0, 0, true) else outputChatBox("#7C7A7A [#560000 WARBOOT #7C7A7A] #4286F4 [PERMISSION] #FFFFFF You dont have rights to use this command.", player, 255, 0, 0, true) end end this dont work. Idk why, version is 1.5.5 installed 25.8.2018 Link to comment
Sorata_Kanda Posted September 6, 2018 Share Posted September 6, 2018 Check if your server is running the version which is required for clearChatBox Also, try using it client-sided. Something that I also thought about is that you have to set the minimum version of your server in order to use the new functions. But I'm not sure, this is just an assumption. Link to comment
Sorata_Kanda Posted September 7, 2018 Share Posted September 7, 2018 (edited) Today has been an update which adds clearChatBox Update your client/server and try it again. Edited September 7, 2018 by Sorata_Kanda 1 Link to comment
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