Mastol-aLGNOB Posted January 30, 2015 Share Posted January 30, 2015 function cam () setCameraMatrix(source, 214.28958129883+math.random(1,5), 1865.3023681641+math.random(5,9), 13.140625, 180, 285, 0, 0) ped = createPed ( 210.10000610352, 1874.1999511719, 13.10000038147 ) setPedAnimation( ped, "ped", "WOMAN_walknorm") end addEventHandler ("onResourceStart",root,cam) addEventHandler("onClientRender", getRootElement(), function() local x, y, z = getElementPosition(ped) local x2, y2, z2 = getElementPosition(localPlayer) if(isLineOfSightClear(x, y, z, x2, y2, z2, true, true, false, true)) then local sx, sy = getScreenFromWorldPosition(x, y, z+1.3) if(sx) and (sy) then local distance = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) if(distance < 30) then dxDrawText("اهلا و سهلا", sx+2, sy+2, sx, sy, tocolor(0,0,0), 6.3-(distance/20), "arial", "center", "center") dxDrawText("اهلا و سهلا", sx, sy, sx, sy, tocolor(255,255,255), 6-(distance/20), "arial", "center", "center") end end end end) حطيت كل شى والاحداثيات و ماشتغل ولا الشخص تحرك ابى حل Link to comment
xb0 Posted January 30, 2015 Share Posted January 30, 2015 الشخصيه والحركه في ملف سيرفر --------------------------- والكلام كلينت Link to comment
</Mr.Tn6eL> Posted January 30, 2015 Share Posted January 30, 2015 function cam () setCameraMatrix(214.28958129883+math.random(1,5), 1865.3023681641+math.random(5,9), 13.140625, 180, 285, 0, 0) ped = createPed (0, 210.10000610352, 1874.1999511719, 13.10000038147 ) setPedAnimation( ped, "ped", "WOMAN_walknorm") end addEventHandler ("onClientResourceStart",resourceRoot,cam) addEventHandler("onClientRender", getRootElement(), function() local x, y, z = getElementPosition(ped) local x2, y2, z2 = getElementPosition(localPlayer) if(isLineOfSightClear(x, y, z, x2, y2, z2, true, true, false, true)) then local sx, sy = getScreenFromWorldPosition(x, y, z+1.3) if(sx) and (sy) then local distance = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) if(distance < 30) then dxDrawText("اهلا و سهلا", sx+2, sy+2, sx, sy, tocolor(0,0,0), 6.3-(distance/20), "arial", "center", "center") dxDrawText("اهلا و سهلا", sx, sy, sx, sy, tocolor(255,255,255), 6-(distance/20), "arial", "center", "center") end end end end) اخطائك setCameraMatrix : حاط ارقمنت الاعب الخاص بالسيرفر - يعني لاتحط الارقمنت بالكلنت createPed : نسيت ان تضع ارقمنت رقم الشخصية addEventHandler : 1 - لتجعله بالكلنت onClientResourceStart وهو خاص بالسيرفر ضع onResourceStart حاط اسم الافنت 2 - لتجعله اذا اشتغل المود الحالي resourceRoot يعني اي مود يشتغل يسوي شخصية جديدة - حطroot حاط Link to comment
Mastol-aLGNOB Posted January 30, 2015 Author Share Posted January 30, 2015 يعنى وش اسوى احط هاد الكلام فى ملف لوحده Link to comment
#MFGR7OM Posted January 30, 2015 Share Posted January 30, 2015 تستبدل كودك بالكود الي عطاكياه سبايدر Link to comment
Mastol-aLGNOB Posted January 30, 2015 Author Share Posted January 30, 2015 يسلمو يعنى احط هاد الكلام فى ملف lua واضبط Meta وبس يشتغل المود Link to comment
#MFGR7OM Posted January 30, 2015 Share Posted January 30, 2015 بالضبط واي مساعده بنساعدك انشالله Link to comment
Mastol-aLGNOB Posted January 30, 2015 Author Share Posted January 30, 2015 يسلمو حوبى Link to comment
Mastol-aLGNOB Posted January 30, 2015 Author Share Posted January 30, 2015 ض2 سويت المود بس الشخص ما يتحرك ولا فى شى ض2 بالله الحل ترا تعب بسبب المود Link to comment
Mastol-aLGNOB Posted January 30, 2015 Author Share Posted January 30, 2015 غيرت ولا الكلام ظهر ولا الشخصية function cam () setCameraMatrix(214.28958129883+math.random(1,5), 1865.3023681641+math.random(5,9), 13.140625, 180, 285, 0, 0) ped = createPed (214.10000610352, 1875.9000244141, 13.10000038147) setPedAnimation( ped, "46", "Bat_1") end addEventHandler ("onClientResourceStart",resourceRoot,cam) addEventHandler("onClientRender", getRootElement(), function() local x, y, z = getElementPosition(ped) local x2, y2, z2 = getElementPosition(localPlayer) if(isLineOfSightClear(x, y, z, x2, y2, z2, true, true, false, true)) then local sx, sy = getScreenFromWorldPosition(x, y, z+1.3) if(sx) and (sy) then local distance = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) if(distance < 30) then dxDrawText("سيرفر نجوم يرحب بكم", sx+2, sy+2, sx, sy, tocolor(255,255,255), 6.3-(distance/20), "arial", "center", "center") dxDrawText("سيرفر نجوم يرحب بكم", sx, sy, sx, sy, tocolor(255,255,255), 6-(distance/20), "arial", "center", "center") end end end end) Link to comment
TAPL Posted January 30, 2015 Share Posted January 30, 2015 ما حطيت ارقمنت آيد الشخصية Link to comment
Mastol-aLGNOB Posted January 30, 2015 Author Share Posted January 30, 2015 حطيت والله 46 Link to comment
Mastol-aLGNOB Posted January 30, 2015 Author Share Posted January 30, 2015 function cam () setCameraMatrix(214.28958129883+math.random(1,5), 1865.3023681641+math.random(5,9), 13.140625, 180, 285, 0, 0) ped = createPed (0, 214.10000610352, 1875.9000244141, 13.10000038147 ) setPedAnimation( Dark Romeo, "46", "WOMAN_walknorm") end addEventHandler ("onClientResourceStart",resourceRoot,cam) addEventHandler("onClientRender", getRootElement(), function() local x, y, z = getElementPosition(ped) local x2, y2, z2 = getElementPosition(localPlayer) if(isLineOfSightClear(x, y, z, x2, y2, z2, true, true, false, true)) then local sx, sy = getScreenFromWorldPosition(x, y, z+1.3) if(sx) and (sy) then local distance = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) if(distance < 30) then dxDrawText("سيرفر نجوم يرحب بكم", sx+2, sy+2, sx, sy, tocolor(0,0,0), 6.3-(distance/20), "arial", "center", "center") dxDrawText("سيرفر نجوم يرحب بكم", sx, sy, sx, sy, tocolor(255,255,0), 6-(distance/20), "arial", "center", "center") end end end end) شوف يمكن فى غلظه Link to comment
Mastol-aLGNOB Posted January 30, 2015 Author Share Posted January 30, 2015 والشخصية ما تتغير Link to comment
ALw7sH Posted January 30, 2015 Share Posted January 30, 2015 عندك خطأ سطر 4 ماهو معرف Dark Romeo ذا ped الارقمنت ذا ارقمنت البيد والبيد حقك اسمه ped بـ Dark Romeo ف استبدل وعندك خطأ ثاني بنفس السطر ف الارقمنت الثاني block: the animation block's name. (https://wiki.multitheftauto.com/wiki/Animations) Link to comment
Mastol-aLGNOB Posted January 31, 2015 Author Share Posted January 31, 2015 تشوف فى بداية سيرفر الوزارة رجل يشاور وش اسم الحركه Link to comment
iPrestege Posted January 31, 2015 Share Posted January 31, 2015 جرب لين تلقاها حنا جربناها لين حصلناها Link to comment
Mastol-aLGNOB Posted January 31, 2015 Author Share Posted January 31, 2015 تسلم ض2 افدنى مررررررررره :lool: 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