Jump to content

[Help-Me]Cylinder Bug


Black2

Recommended Posts

onMarkerHit and onClientMarkerHit have a dimension parameter.

addEventHandler("onMarkerHit",root, 
function (hitPlayer,Dimensions) 
if  hitPlayer.player and Dimensions then 
hitPlayer:outputChat("You hit the marker") 
end 
end) 

Edited by Guest
Link to comment

@xeon, I think You Didn't closed the function properly, you should use ")" at the end. :roll:

  
addEventHandler("onMarkerHit",root, 
function (hitPlayer,Dimensions) 
if  hitPlayer.player and Dimensions then 
hitPlayer:outputChat("You hit the marker") 
end 
end) 
  

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