Jump to content

ممكن فنكشات


EH10

Recommended Posts

السلام عليكم ورحمة الله وبركاتة

ممكن كود اذا خلص التحميل

بيجيك انتقالات يعني يجي الدايري من يخلص تضغط سهم يمين يوديك النخيل بس من فوق وتضغط ثاني مره بيوديك البداية اذا ضغطت انتر بينقلك لمة

بس يجي من فوق زي ونساة تيمي wnash_time

Link to comment
bindKey 
setCameraMatrix 
setElementPosition 
  

الكود صح ؟

function Spawn () 
  if isTransferBoxActive() == false then 
                            setCameraMatrix(source, x, y, z, x, y, z) 
                            setElementPosition(source, x, y, z) 
end 
bindKey ("arrow_u","down", Spawn) 

Link to comment

والان صح ؟ ردو

function Spawn () 
  if isTransferBoxActive() == false then 
                            setCameraMatrix(source, x, y, z, x, y, z) 
                               else 
                            setCameraMatrix(source, x, y, z, x, y, z) 
end 
bindKey ("arrow_u","down", Spawn) 
  
function Enter () 
  setElementPosition(source, x, y, z) 
   else 
  setElementPosition(source, x, y, z) 
 end 
bindKey ("Enter","down", Enter) 

Link to comment
والان صح ؟ ردو
function Spawn () 
  if isTransferBoxActive() == false then 
                            setCameraMatrix(source, x, y, z, x, y, z) 
                               else 
                            setCameraMatrix(source, x, y, z, x, y, z) 
end 
bindKey ("arrow_u","down", Spawn) 
  
function Enter () 
  setElementPosition(source, x, y, z) 
   else 
  setElementPosition(source, x, y, z) 
 end 
bindKey ("Enter","down", Enter) 

اصبر بسويه لك

Link to comment
--Client Side! 
       function right() 
    if isTransferBoxActive() == false then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    if getCameraMatrix () == x, y, z, x, y, z then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    elseif getCameraMatrix () == x, y, z, x, y, z then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    end 
end 
bindKey ( "arow_r", "down", right ) 
      
function left() 
    if getCameraMatrix () == x, y, z, x, y, z then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    elseif getCameraMatrix () == x, y, z, x, y, z then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    end 
end 
bindKey ( "arow_l", "down", left ) 
      
      
function enter() 
    local cMx = getCameraMatrix() 
triggerServerEvent("spawn",getLocalPlayer(),cMx) 
setCameraTarget (localPlayer(), localPlayer()) 
end 
bindKey ( "Enter", "down", enter ) 
  

--server Side! 
addEvent("spawn",true) 
addEventHandler("spawn",root, 
function(cMx) 
if cMx == x, y, z, x, y, z then 
spawnPlayer (source, x, y, z, skin ID) 
fadeCamera (source, true) 
setCameraTarget (source, source) 
elseif cMx == x, y, z, x, y, z then 
spawnPlayer (source, x, y, z, skin ID) 
fadeCamera (source, true) 
setCameraTarget (source, source) 
end 
end 
) 

اتوقع كذا 8)

Link to comment
--Client Side! 
       function right() 
    if isTransferBoxActive() == false then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    if getCameraMatrix () == x, y, z, x, y, z then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    elseif getCameraMatrix () == x, y, z, x, y, z then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    end 
end 
bindKey ( "arow_r", "down", right ) 
      
function left() 
    if getCameraMatrix () == x, y, z, x, y, z then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    elseif getCameraMatrix () == x, y, z, x, y, z then 
    setCameraMatrix(source, x, y, z, x, y, z) 
    end 
end 
bindKey ( "arow_l", "down", left ) 
      
      
function enter() 
    local cMx = getCameraMatrix() 
triggerServerEvent("spawn",getLocalPlayer(),cMx) 
setCameraTarget (localPlayer(), localPlayer()) 
end 
bindKey ( "Enter", "down", enter ) 
  

--server Side! 
addEvent("spawn",true) 
addEventHandler("spawn",root, 
function(cMx) 
if cMx == x, y, z, x, y, z then 
spawnPlayer (source, x, y, z, skin ID) 
fadeCamera (source, true) 
setCameraTarget (source, source) 
elseif cMx == x, y, z, x, y, z then 
spawnPlayer (source, x, y, z, skin ID) 
fadeCamera (source, true) 
setCameraTarget (source, source) 
end 
end 
) 

اتوقع كذا 8)

ماضبط

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