Jump to content

مشكله :(


Recommended Posts

بسم الله الرحمن الرحيمَ . . .

السًلأًمُ علًـيكم ورحمًـة اللـًه وبـًركاتهُـ . . .

شباب اخواني عندي مشكله = لما احط باب في البنك يختفي البنك

local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) 

الحل؟ :(

Link to comment
يالحبيب البنك مكان مثل حرب العصابات مكان حق البنك مو سكربت او مود فهمت علي

وانا وشش يعرفني عن حرب العصابات

مآمرة لعبت فيه

createObject إذا البنك اللي مسويه انت عن طريق المود

اططرحه نششوف الأخطاء

Edited by Guest
Link to comment
local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) 
setElementInterior ( getLocalPlayer(), 2634 ) 
  

ولا ذا

   
local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) 
 setElementInterior ( source, 2634 ) 
  

Link to comment
local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) 
setElementInterior ( getLocalPlayer(), 2634 ) 
  

ولا ذا

   
local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) 
 setElementInterior ( source, 2634 ) 
  

if client = setElementInterior ( getLocalPlayer(), 2634 )

if server = setElementInterior ( source, 2634 )

Link to comment

كيذا

  
local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) 
 setElementInterior ( source, 2634 ) 
if client = setElementInterior ( getLocalPlayer(), 2634 ) 
if server = setElementInterior ( source, 2634 ) 

ولا احط ايف سيرفر في ملف سيرفر واربطه في الكلينت ؟ يعني ترايقل وايفنت ولا كيذا صح؟

Link to comment
كيذا
  
local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) 
 setElementInterior ( source, 2634 ) 
if client = setElementInterior ( getLocalPlayer(), 2634 ) 
if server = setElementInterior ( source, 2634 ) 

ولا احط ايف سيرفر في ملف سيرفر واربطه في الكلينت ؟ يعني ترايقل وايفنت ولا كيذا صح؟

:shock:

WTF !!!

اقولكـ إذا أنت شغال على كلنت حط الكود ذآ

setElementInterior ( getLocalPlayer(), 2634 )

و إذا سيرفر حط ذا

setElementInterior ( source, 2634 )

تروحح تنسخه كامل ليه :?:?:

Link to comment
تابل مو شغال وللمعلومه ابغى كلينت مو سيرفر
local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) 
setElementInterior ( gate, 3 ) 
  

مو شغال الباب

الكلنت راح يكون فيه أخطاء او تشوف الاعب الي دخل معك مختفي

" عن تجربه "

Link to comment

يعني كل ذا اخليه سيرفر وراح يكون شغال شوفه

local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) 
setElementInterior ( gate, 3 ) 
  
  
  
function moveGate() 
        moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) 
end 
addCommandHandler ( "open", moveGate ) 
  
function mmoveGate() 
        moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) 
end 
addCommandHandler ( "close", mmoveGate ) 

؟؟؟

Link to comment
يعني كل ذا اخليه سيرفر وراح يكون شغال شوفه
local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) 
setElementInterior ( gate, 3 ) 
  
  
  
function moveGate() 
        moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) 
end 
addCommandHandler ( "open", moveGate ) 
  
function mmoveGate() 
        moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) 
end 
addCommandHandler ( "close", mmoveGate ) 

؟؟؟

فيه غلط عندك في

createObject

وين ال

rotation ?

Link to comment
يعني كل ذا اخليه سيرفر وراح يكون شغال شوفه
local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) 
setElementInterior ( gate, 3 ) 
  
  
  
function moveGate() 
        moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) 
end 
addCommandHandler ( "open", moveGate ) 
  
function mmoveGate() 
        moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) 
end 
addCommandHandler ( "close", mmoveGate ) 

؟؟؟

فيه غلط عندك في

createObject

وين ال

rotation ?

خيو صححه ...

وبنسبه للخطأ تراه شغال الباب لاكن لما اركبه في محل انترور مثل البنك مايطلع الباب

لاكن مثلا احطه بشارع يطلع تمام . .

وياريت تجربه بنفسك وتسلم يمناك على محاولة المساعده . .

كمل جميلك وياريت تشوف حل . .

Link to comment
يعني كل ذا اخليه سيرفر وراح يكون شغال شوفه
local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) 
setElementInterior ( gate, 3 ) 
  
  
  
function moveGate() 
        moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) 
end 
addCommandHandler ( "open", moveGate ) 
  
function mmoveGate() 
        moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) 
end 
addCommandHandler ( "close", mmoveGate ) 

؟؟؟

فيه غلط عندك في

createObject

وين ال

rotation ?

خيو صححه ...

وبنسبه للخطأ تراه شغال الباب لاكن لما اركبه في محل انترور مثل البنك مايطلع الباب

لاكن مثلا احطه بشارع يطلع تمام . .

وياريت تجربه بنفسك وتسلم يمناك على محاولة المساعده . .

كمل جميلك وياريت تشوف حل . .

عشان الانترور كود الي انت سويته غلط

راجع الويكي

Link to comment
هههههه حبيبي تعرف اطرح ماتعرف لاتقول غلط وانا مو جايبه اصلا

الي جايبه تابل راجع الردود خيو

جرب ذا

local gate = createObject ( 0, 0, 0 ) 
    setElementInterior( gate, 3, 371.95056152344, 166.4747467041, 1008.3893432617 ) 
   
    function moveGate() 
            moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) 
    end 
    addCommandHandler ( "open", moveGate ) 
  
    function mmoveGate() 
            moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) 
    end 
    addCommandHandler ( "close", mmoveGate ) 

بس من الافضل انك تحط ال

rotation

حقتها

عشان كذا يصير الباب في اتجاهه الطبيعي ويصير لخبطه

Link to comment

المشكلة انك ما حطيت رقم الاوبجكت الي تبيه

createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) 

لازم تحط الاوبجكت

createObject ( id, 371.95056152344, 166.4747467041, 1008.3893432617 ) 

وتصحيح لمعلومات teteomar

الكود ما يحتاج rotation لانه مطلب ثانوي

راجع الكود وتعرف

Link to comment
المشكلة انك ما حطيت رقم الاوبجكت الي تبيه
createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) 

لازم تحط الاوبجكت

createObject ( id, 371.95056152344, 166.4747467041, 1008.3893432617 ) 

وتصحيح لمعلومات teteomar

الكود ما يحتاج rotation لانه مطلب ثانوي

راجع الكود وتعرف

اخ نسيت ..

جرب ذا

   
        local gate = createObject ( 2634 ,0, 0, 0, rotX, rotY, rotZ ) 
        setElementInterior( gate, 3, 371.95056152344, 166.4747467041, 1008.3893432617 ) 
      
        function moveGate() 
                moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) 
        end 
        addCommandHandler ( "open", moveGate ) 
      
        function mmoveGate() 
                moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) 
        end 
        addCommandHandler ( "close", mmoveGate ) 

rotX, rotY, rotZ حط بدالهم ال

rotation

وتعليق على كلام Bssol

الحين يجربه ويشوف كيف الباب راح يصير باتجاه ثاني غير الي هو يبيه

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