Jump to content

Why output the text to everyone the outputChatBox?


Recommended Posts

function coronaa(hitElement)
  if hitElement == localPlayer then
  	triggerServerEvent ("szoveg", localPlayer) -- set the source of the event as the localPlayer.
addEventHandler ( "onClientMarkerHit", ajtomegilyenek, coronaa )

addEvent( "szoveg", true ) 
addEventHandler( "szoveg", root,
    outputChatBox("Sup bruh?", source, r,g,b, true) -- usese the source of the event.

-- Or jsut keep it client side unless u got other functions...

function coronaa()
  outputChatBox("Sup bruh?", r,g,b, true)
addEventHandler ( "onClientMarkerHit", ajtomegilyenek, coronaa )


Edited by Mr.Loki
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...