Jump to content

I Need some help


Machine

Recommended Posts

  
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

Link to comment
  • Scripting Moderators
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 ) 

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