[UCG]Mike Posted August 2, 2014 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 ???? You are now in Mark Zone !!!
undefined Posted August 2, 2014 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)
Castillo Posted August 2, 2014 Posted August 2, 2014 outputChatBox client-side has no visibleTo argument. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
[UCG]Mike Posted August 2, 2014 Author 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 You are now in Mark Zone !!!
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