Jump to content

Why output the text to everyone the outputChatBox?


Turbe$Z

Recommended Posts

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

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

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

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

\:lol:/\:lol:/

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...