Machine Posted July 21, 2012 Posted July 21, 2012 local marker3 = createMarker(2487.1975097656, -1667.08984375, 13.34375, 'cylinder', 2.0, 255, 0, 0, 150) function markerHitLV (hitPlayer) if ( hitPlayer == localPlayer ) then fadeCamera(source, true, 5) setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) end end addEventHandler ("onClientMarkerHit", marker3, markerHitLV) why this code dont work? how to fix
Scripting Moderators Sarrum Posted July 21, 2012 Scripting Moderators Posted July 21, 2012 local marker3 = createMarker ( 2487.1975097656, -1667.08984375, 13.34375, "cylinder", 2.0, 255, 0, 0, 150 ) function markerHitLV ( hitPlayer ) if ( hitPlayer == localPlayer ) then fadeCamera ( true, 5 ) setCameraMatrix ( 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316 ) end end addEventHandler ( "onClientMarkerHit", marker3, markerHitLV )
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