Jump to content

[help] notification blocking by players


djharbi2

Recommended Posts

if guiCheckBoxGetSelected(noti) then
	triggerServerEvent( "messagesend", localPlayer, player )
end

server

addEvent( "messagesend", true )
addEventHandler( "messagesend", root,
	function ( player )
		outputChatBox("message has arrived", client, 255, 168, 0, true)
		if isElement(player) then
			outputChatBox("message send", player, 255, 168, 0, true)	
		end
	end
)

 

Edited by DNL291
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...