Jump to content

CameraMatrix[Solucionado]


iSmokee

Recommended Posts

Hola como haría para que con el botón de close me saque la setCameraMatrix alguien me podría ayudar intente con destroyElement pero lo único que hacia es darme error :/

  
function Button() 
if source == close then 
guiSetVisible(window,false) 
showCursor( false ) 
    end 
end 
addEventHandler("onClientGUIClick",getRootElement(),Button) 
  
addEventHandler("onClientMarkerHit", marker, 
function (hitElement) 
if hitElement == localPlayer then 
guiSetVisible(window,true) 
showCursor(true) 
setCameraMatrix( 2858.7507324219, -2167.6987304688, 796.52850341797, 2859.4787597656, -2167.0390625, 796.34240722656) 
    end 
end 
)    
  

Edited by Guest
Link to comment
  
function Button() 
if source == close then 
guiSetVisible(window,false) 
showCursor( false ) 
setCameraTarget(localPlayer) 
    end 
end 
addEventHandler("onClientGUIClick",getRootElement(),Button) 
  
addEventHandler("onClientMarkerHit", marker, 
function (hitElement) 
if hitElement == localPlayer then 
guiSetVisible(window,true) 
showCursor(true) 
setCameraMatrix( 2858.7507324219, -2167.6987304688, 796.52850341797, 2859.4787597656, -2167.0390625, 796.34240722656) 
    end 
end 
)    
  

Si lo vendes quiero el 99% + IVA

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...