☠ RaZeR ☠ Posted August 12, 2015 Share Posted August 12, 2015 السلام عليكم شباب ابي فنكشات تخلي set matrix صغيره set matrix يعني مربع صغير على الجنب فيه ال اراقب مكان معبن ! Link to comment
</Mr.Tn6eL> Posted August 12, 2015 Share Posted August 12, 2015 dxCreateScreenSource dxUpdateScreenSource Link to comment
☠ RaZeR ☠ Posted August 12, 2015 Author Share Posted August 12, 2015 dxCreateScreenSource dxUpdateScreenSource ليه مااشتغل ووطلع شاشه صغيره للمكان ذا addEventHandler("onClientResourceStart", resourceRoot, function() myScreenSource = dxCreateScreenSource ( 500, 480 ) end ) addEventHandler( "onClientRender", root, function() if myScreenSource then dxUpdateScreenSource( myScreenSource ) setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271) end end) Link to comment
Naif Posted August 12, 2015 Share Posted August 12, 2015 بـ الكلنت مافيه ارقمونت الاعب بـ الماتركس . Link to comment
☠ RaZeR ☠ Posted August 12, 2015 Author Share Posted August 12, 2015 معك حق Required Arguments positionX: The x coordinate of the camera's position. positionY: The y coordinate of the camera's position. positionZ: The z coordinate of the camera's position. Instead of six coordinates, or two vectors, a Matrix can be supplied. طيب ينفع بالتريقر Link to comment
☠ RaZeR ☠ Posted August 12, 2015 Author Share Posted August 12, 2015 Server !~ function matrix1() setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271) end addEvent( "matrix", true ) addEventHandler( "matrix", resourceRoot, matrix1 ) Client addEventHandler("onClientResourceStart", resourceRoot, function() myScreenSource = dxCreateScreenSource ( 640, 480 ) end ) addEventHandler( "onClientRender", root, function() if myScreenSource then dxUpdateScreenSource( myScreenSource ) triggerServerEvent ( "matrix", source ) end end ) Link to comment
☠ RaZeR ☠ Posted August 12, 2015 Author Share Posted August 12, 2015 سوى الماتركس بس ماحطها في مربع صغير !! Link to comment
Naif Posted August 12, 2015 Share Posted August 12, 2015 مم آتوقع تسوي dxDrawImage + الترآيقر ليه حأط source ؟ بدلهأ بـ localPlayer Link to comment
☠ RaZeR ☠ Posted August 12, 2015 Author Share Posted August 12, 2015 جربيتها طلع مربع صغير وجابني انا مب الماتركس !! \ يعني حطني انا في dxDrawImage انا ابي يحط الماتركس في المربع Link to comment
H25 Posted August 12, 2015 Share Posted August 12, 2015 ترايقر في رندر !!!!! setCameraMatrix(1468.8785400391, -919.25317382813, 100.153465271) اذا تبي تحط الماتركس في الكلنت شيل السورس فقط لأن الكلنت للاعب اساساً Link to comment
iMr.Dawix~# Posted August 12, 2015 Share Posted August 12, 2015 Server !~ function matrix1() setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271) end addEvent( "matrix", true ) addEventHandler( "matrix", resourceRoot, matrix1 ) Client addEventHandler("onClientResourceStart", resourceRoot, function() myScreenSource = dxCreateScreenSource ( 640, 480 ) end ) addEventHandler( "onClientRender", root, function() if myScreenSource then dxUpdateScreenSource( myScreenSource ) triggerServerEvent ( "matrix", source ) end end ) addEventHandler( "onClientRender", root, function() if myScreenSource then dxUpdateScreenSource( myScreenSource ) triggerServerEvent ( "matrix", source ) end end ) Link to comment
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