Jump to content

تعديل setCameraMatrix ..


Recommended Posts

السلام عليكم ,,

هذآ كود كآميرآ مآتركس ::

addEventHandler("onClientGUIClick",root, 
 function () 
  if ( source == GUIEditor_Button[6] ) then 
     fadeCamera(source, true, 5) 
     setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) 
  
  end 
  
) 

لآكنيَ جربت الكود وخخرب المود كآمل

وآتمنى تصححونة

وشكرآ ,,

Link to comment
addEventHandler("onClientGUIClick",root, 
 function () 
  if ( source == GUIEditor_Button[6] ) then 
     fadeCamera(true,5) 
     setCameraMatrix(1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) 
      end 
end 
) 

Link to comment
addEventHandler("onClientGUIClick",root, 
 function () 
  if ( source == GUIEditor_Button[6] ) then 
     fadeCamera(true,5) 
     setCameraMatrix(1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) 
      end 
end 
) 

سوال ؟

Required Arguments

thePlayer: The player whose camera you wish to fade.

fadeIn: Should the camera be faded in our out? Pass true to fade the camera in, false to fade it out to a color.

و انت حذفت source ??

كيف تجي

Link to comment

فيهة مشكلهة هون ؟؟

  
        guiSetVisible (Wind, false) 
  
function OpenWin() 
    if guiGetVisible ( Wind ) then 
       guiSetVisible ( Wind, false ) 
       showCursor(false) 
       guiSetInputEnabled(false) 
    else 
        guiSetVisible ( Wind, true ) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
end 
bindKey("F6", "down", OpenWin) 

Link to comment

بدون هالكودين تشتغل اللوحة ::

addEventHandler("onClientGUIClick",root, 
 function () 
  if ( source == GUIEditor_Button[6] ) then 
     fadeCamera(true,5) 
     setCameraMatrix(1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) 
      end 
end 
) 

تم تعديل الكود ^

  
        guiSetVisible (Wind, false) 
  
function OpenWin() 
    if guiGetVisible ( Wind ) then 
       guiSetVisible ( Wind, false ) 
       showCursor(false) 
       guiSetInputEnabled(false) 
    else 
        guiSetVisible ( Wind, true ) 
        showCursor(true) 
        guiSetInputEnabled(true) 
  
    end 
end 
bindKey("F6", "down", OpenWin) 

Edited by Guest
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...