[UCG]Mike Posted August 2, 2014 Share Posted August 2, 2014 local marker1 = createMarker(x, z, y, "cylender", 2, 255, 255, 255, 255) function marker1hit ( thePlayer ) outputChatBox ("test", thePlayer, 255, 255, 255) end addEventHandler(onClientMarkerHit, marker1, marker1hit) where is the problem ???? Link to comment
undefined Posted August 2, 2014 Share Posted August 2, 2014 Try this. local marker1 = createMarker(x, y, z, "cylinder", 2, 255, 255, 255, 255) function marker1hit ( thePlayer ) outputChatBox ("test", thePlayer, 255, 255, 255) end addEventHandler("onClientMarkerHit", marker1, marker1hit) Link to comment
Castillo Posted August 2, 2014 Share Posted August 2, 2014 outputChatBox client-side has no visibleTo argument. Link to comment
[UCG]Mike Posted August 2, 2014 Author Share Posted August 2, 2014 Try this. local marker1 = createMarker(x, y, z, "cylinder", 2, 255, 255, 255, 255) function marker1hit ( thePlayer ) outputChatBox ("test", thePlayer, 255, 255, 255) end addEventHandler("onClientMarkerHit", marker1, marker1hit) ty its fixed now 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