Jump to content

Attempt to call global clearChatBox() a nil value


Unkovic

Recommended Posts

 

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...