Jump to content

smoothMoveCamera ممكن شرح للـــ


Recommended Posts

شرح هاي الفنكشن سهل جدا كل يلي يسويه هو تحريك الكاميرا من مكان لاخر

كيف تعال افهمك

bool smoothMoveCamera ( float x1, float y1, float z1, float x1t, float y1t, float z1t, float x2, float y2, float z2, float x2t, float y2t, float z2t, int time ) 

float x1, float y1, float z1, float x1t, float y1t, float z1t تحط مكان دول احداثيات الكاميرا الاولة يلي تبداء منها التحرك

float x2, float y2, float z2, float x2t, float y2t, float z2t تحط مكان دول احداثيات الكاميرا الثانية يلي ينتهي عندها التحرك

int time هاي الوقت يلي تبي يحدث في الحركة وكلما قلي الوقت يزيد سرعه التحرك وكلما زاد الوقت تقل سرعه التحرك

اتمن اكون افدتك

Link to comment
شرح هاي الفنكشن سهل جدا كل يلي يسويه هو تحريك الكاميرا من مكان لاخر

كيف تعال افهمك

bool smoothMoveCamera ( float x1, float y1, float z1, float x1t, float y1t, float z1t, float x2, float y2, float z2, float x2t, float y2t, float z2t, int time ) 

float x1, float y1, float z1, float x1t, float y1t, float z1t تحط مكان دول احداثيات الكاميرا الاولة يلي تبداء منها التحرك

float x2, float y2, float z2, float x2t, float y2t, float z2t تحط مكان دول احداثيات الكاميرا الثانية يلي ينتهي عندها التحرك

int time هاي الوقت يلي تبي يحدث في الحركة وكلما قلي الوقت يزيد سرعه التحرك وكلما زاد الوقت تقل سرعه التحرك

اتمن اكون افدتك

يالاخو ممكن سؤال بس

هوا لازم اسوي كاميرات وبعدين

الي فوق ذول ؟

Link to comment

اول محاوله فاشله

  
addEvent("Login",true) 
addEventHandler("Login",root, 
function(player,username,password) 
local acc = getAccount(username,password) 
    if acc then 
        logIn(player,acc,password) 
        triggerClientEvent(player,"AccC",player) 
smoothMoveCamera ( 2882.107421875, 1790.0267333984, 31.395790100098, 2899.0109863281, 1789.5551757813, 28.845014572144, 2897.8354492188, 1794.3680419922, 28.154830932617, 2884.443359375, 1785.1320800781, 28.596536636353, 2000 )      
        setCameraMatrix(player,2882.107421875,1790.0267333984,31.395790100098,2892.6208496094,1790.8303222656,30.195960998535,0,70) 
        else 
        triggerClientEvent(player,"notAcc",player) 
    end 
end) 

مفيش كاميرا

Link to comment
اول محاوله فاشله
  
addEvent("Login",true) 
addEventHandler("Login",root, 
function(player,username,password) 
local acc = getAccount(username,password) 
    if acc then 
        logIn(player,acc,password) 
        triggerClientEvent(player,"AccC",player) 
smoothMoveCamera ( 2882.107421875, 1790.0267333984, 31.395790100098, 2899.0109863281, 1789.5551757813, 28.845014572144, 2897.8354492188, 1794.3680419922, 28.154830932617, 2884.443359375, 1785.1320800781, 28.596536636353, 2000 )      
        setCameraMatrix(player,2882.107421875,1790.0267333984,31.395790100098,2892.6208496094,1790.8303222656,30.195960998535,0,70) 
        else 
        triggerClientEvent(player,"notAcc",player) 
    end 
end) 

مفيش كاميرا

فهمني شو تبي تسوي

Link to comment
اول محاوله فاشله
  
addEvent("Login",true) 
addEventHandler("Login",root, 
function(player,username,password) 
local acc = getAccount(username,password) 
    if acc then 
        logIn(player,acc,password) 
        triggerClientEvent(player,"AccC",player) 
smoothMoveCamera ( 2882.107421875, 1790.0267333984, 31.395790100098, 2899.0109863281, 1789.5551757813, 28.845014572144, 2897.8354492188, 1794.3680419922, 28.154830932617, 2884.443359375, 1785.1320800781, 28.596536636353, 2000 )      
        setCameraMatrix(player,2882.107421875,1790.0267333984,31.395790100098,2892.6208496094,1790.8303222656,30.195960998535,0,70) 
        else 
        triggerClientEvent(player,"notAcc",player) 
    end 
end) 

مفيش كاميرا

فهمني شو تبي تسوي

ابي اخلي الكاميرا تتحرك تمشي من جنب الشخصيه للجنب الثاني

وترجع للجنب

وتعيد

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