Leaderboard
Popular Content
Showing content with the highest reputation on 18/06/17 in Posts
-
خطأ انك تقوم بوضع اكثر من المنت وبنفس اسم المتغير PosTable = { {720.30627, -456.85587, 16.92993}, {721.30627, -456.85587, 16.92993}, {719.30627, -456.85587, 16.92993} } function soundStart() for k , v in pairs ( PosTable ) do local sound = playSound3D("sound.mp3", v[1],v[2],v[3], true) setSoundMaxDistance(sound, 200) end end addEventHandler("onClientResourceStart", resourceRoot, soundStart) واذا لم يعمل معك فالخطاء منك , قم بالتاكد من ملف الميتا او الملف الصوتي2 points
-
Hello! Since dxText have to be drawn at every frame (onClientRender), the easiest way to move the text is to redefine it's position at every frame or with some method you prefer.1 point
-
وش ذا ؟ Not starting resource 'resourcename' as server has come back from the future يجيبها في اف 8 بعد ما اشفر المود و اركبه يجيب لي الرسالة اللي فوق بس يجيب اسم المود بدل كلم ريسورس نيم و كمان المودات ما فيها اي هكر فوش السبب ؟ -- انتم اللي اشوفكم متفاعلين @iMr.WiFi..! @#Soking @#_iMr.[E]coo @#BrosS ملاحظة المودات ( نفسها ) بالتشفير شغالة بسيرفر آخر فوش مشكلة السيرفر الاول ؟1 point
-
I'm not sure I understand that, what do you mean you would be lucky finding that position again?1 point
-
1 point
-
Hi, I've updated the community to reflect the change that @pa3k suggested. Whenever the community is next updated the "feature" will be added.1 point
-
1 point
-
أنا عارف هذا الشيء بس ممكن تقولي أنا في سطر كم مستخدمة غلط ؟ setElementDimension ( myMarker, dimension ) ضع الكود هذا تحت الماركر وأستبدل الـ dimension بالرقم اللي تبيه1 point
-
1 point
-
1 point
-
addEventHandler ( "onElementClicked", root, function ( button, state, player ) if ( button == "left" and state == "down" ) then if ( getElementType ( source ) == "vehicle" and getElementModel ( source ) == 407 ) then if ( getPlayerTeam ( player ) and getTeamName ( getPlayerTeam ( player ) ) == "Military" ) then setElementDimension ( source, 60000 ) setElementPosition ( source, 191.89999, 1931.6, 24.3 ) else outputChatBox ( "You Should be a Military Officer to get in the MOC", player, 255, 0, 0 ) end end end end )1 point
-
------------ تمسك اللي دمه اقل من 30 onClientPlayerTarget -- حدث -- تحقق جوا فنكشن الحدث انو نوع الالمنت لاعب -- تحقق ان الالمنت دمه اقل من 30 او ايا كان الرقم اللي تبيه -- تحقق ان الاعب شرطي toggleAllControls -- تخلي الاعب مايقدر يتحرك او يسوي شئ --------------تخلي الاعب يمشي ورا الاعب اللي قبض عليه setPedControlState -- تخلي الاعب يمشي ورا الاعب getPedCameraRotation -- نجيب التوجيه حق الاعب اللي قبض علي المجرم setPedCameraRotation -- تخلي الاعب المقبوض عليه يتوجه لللاعب اللي قبض عليه1 point
-
ان ما خاب ظني اتوقع انك لما تشفر الملفات تختار النوع الثالث .. المفروض لما تختار النوع الثالث في التشفير تحط كلمات في الميتا ناسي وش هي بس حط التشفير النوع الثاني احسن لك واريح لك Extra obfuscation - اقصد هذا في النوع :"1 point
-
if x and y then -- code where you use x and y end Let me remind you that this section is for learning scripting and not for repairing scripts from the community. (if you are not a scripter)1 point
-
بغيت ارد عليك وانت بخير وتوني الاحظ مكتوب وانا هههههههههههههههههههههههه , الله يهديك بس ههههههههههههه1 point
-
كودك زابط بس المشكلة منك شوف المثال ذا ع نفس كودك ! هذا خطأ ؟ function closeWindow1 ( wnd ) guiSetVisible ( wnd , false ) end local Functions = { [1] = { Button = join , Function = joinJob }, [2] = { Button = ex , Function = closeWindow }, [3] = { Button = leave , Function = leaveJob }, [4] = { Button = ex_1 , Function = closeWindow1 } } addEventHandler("onClientGUIClick",resourceRoot,function() for index = 1 , #Functions do if ( source == Functions [ index ] [ "Button" ] ) then Functions [ index ] [ "Function" ] () end end end ) أما الصحيح فهذا function closeWindow1 ( wnd ) guiSetVisible ( wnd , false ) end local Functions = { [1] = { Button = join , Function = joinJob }, [2] = { Button = ex , Function = closeWindow }, [3] = { Button = leave , Function = leaveJob }, [4] = { Button = ex_1 , Function = closeWindow1 } } addEventHandler("onClientGUIClick",resourceRoot,function() for index = 1 , #Functions do if ( source == Functions [ index ] [ "Button" ] ) then Functions [ index ] [ "Function" ] ( wnd2 ) end end end )1 point
-
for _ , v in ipairs ( getElementsByType ( 'player' ) ) do bindKey ( v , 'F1' , 'Down' , function ( v ) outputChatBox ( 'done ?' , v ) end ) end1 point
-
طيب يعني كذا مظبوط -- function guiCreateButton(x,y,x1,y1,text,state,realative,png) local imgl = guiCreateStaticImage(x,y,x1,y1,png, state, realative) local lbll =guiCreateLabel(x+0.4,y,x1,y1, text, state, realative) return imgl end log = guiCreateButton(187, 127, 88, 38,"Login", false, wnd,'gg.png') ؟1 point
-
1 point
-
bindKey تستخدم لإنشاء ( استعمال ) مفتاح من لوحة المفاتيح تستخدم في الملفين كلينت و سيرفر الجملة التركيبية لملف الكلينت bindKey ( string key, string keyState, function handlerFunction, [ var arguments, ... ] ) key -- سترنج و هي المفتاح اللي تبي تسويه keyState -- سترنج وهي نوع الضغط على المفتاح ( وقت الضغط لأسف - لأعلى - الخ ) function -- اسم الفنكشن اللي بتسوي له اشارة على سبيل المثال function giveMeMoney () givePlayerMoney ( 50 ) end bindKey ( "G", "down", giveMeMoney ) الجملة التركيبية لملف السيرفر bool bindKey ( player thePlayer, string key, string keyState, function handlerFunction, [ var arguments, ... ] ) thePlayer-- اللاعب -- لازم يكون معرف key -- سترنج و هي المفتاح اللي تبي تسويه keyState -- سترنج وهي نوع الضغط على المفتاح ( وقت الضغط لأسف - لأعلى - الخ ) function -- اسم الفنكشن اللي بتسوي له اشارة على سبيل المثال function giveMeMoney ( player ) givePlayerMoney ( player , 50 ) end bindKey ( player, "G", "down", giveMeMoney ) -- لازم اللاعب يكون معرف1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
if not getPlayerTeam(source) and getPlayerTeam(source) == getTeamFromName("Military") جرب و ردلي1 point
-
كخبير في اللغة اللون غير متناسق لون النص ليس جيد ربطك للسيرفر للموقع بالقاعدة : شيء جيد القوائم : غير جيدة ستايل : غير جيد طرق التواصل : جيدة1 point
-
1 point
-
My goal was to make all drawings the same size on every resolution, however, it doesn't really seem possible. I also tried using MTA "default-bold" and "default" fonts, with which I had the same problem as using the custom ones (weirdly enough)...1 point
-
1 point
-
@StiviK Very nice, it was necessary for some servers, thank you! But, can you explain how we can install/use it in our servers? Thank you again!1 point
-
https://wiki.multitheftauto.com/wiki/OnElementClicked https://wiki.multitheftauto.com/wiki/MoveObject1 point
-
vR-ul a revenit! Roleplay de calitate, scripturi noi și un staff execepțional. vR-ul nu va fi ”deleted”, hostul este asigurat și RP-ul este menținut în permanență de către staff. De asemenea, nu mai sunt ”fetițe” în staff, doar oameni serioși, aleși cu aplicații pe forum și nu pe donații. Facțiunile sunt puse la punct de către mine și Beni, astfel că nu vor exista probleme cum erau înainte, ”bătălii între SASD și LSPD”. Modurile sunt HD alternate cu low-poly, pentru ca jucătorii care doresc să fie modat low-poly să aibă posibilitatea. Forța vR-RP !1 point
-
كلام فاضي بما انك مبرمج ولك خبره بمجرد اي واحد يطلب منك مود ويعطيك مواصفاته بالكامل ماراح يصعب عليك انك تسويه هذا ان كنت مبرمج اما سالفة مبرمج هجولة ومبرمج زومبي اعرف ماعنده سالفة لان المبرمج يقدر يسوي اي سكربت بمجرد انه ياخذ الفكرة1 point
-
1 point
-
مع الاسف يب .. المهم يا ايكو نصيحة لا تسوي مواضيع كثيرة في اشياء مارح تفيدك ميشان ما يجيك تنبيه وما الى غيره1 point
-
خالاص ي كيلر ، احنا زهئناه هو احسن منا كتييير هو مبرمج حلو واحنا مش مناح ، لك احنا ما نعرف معنى lua اسفين كتير انا وكيلر وبالتوفيء1 point
-
اششششششششششششش ، كيف الاحداث فنكشنات ؟ لما ودي اعطي لاعب دم setElementHealth ( element , 0 ) احطه بالايفنت ؟ addEventHandler ("setElementHealth",function ( element , 100 ) ) ههههههههههههههههههههههههههه ، اصحا من الآجو الي تشمه1 point
