-
Posts
1,992 -
Joined
-
Last visited
-
Days Won
4
Everything posted by 3NAD
-
تعقد الأمور والوظايف موجودة ؟ isObjectInACLGroup hasObjectPermissionTo
-
هذا جدول تاخذ منه المعلومات عن طريق الكود هذا for i, v in ipairs ( aclGroupList() ) do ----- end و تحتاج إلى جلب اسم القروب من الجدول بـ ذا aclGroupGetName
-
لول من بيحط اقل من 999 في الفلوس ؟ وإلى الأمام دوماً
-
كل إيفنت له عنصر مثل هذا "onPlayerSpawn" -- source = player "onVehicleExplode" -- source = vehicle "onClientGUIClick" -- source = gui element
-
source = مين هذا ؟ كيف بتشتغل الوظيفة ؟
-
ليه الإيفنت اصلاً ذذذذ
-
على حسسسب اكوادك وحدة function noName ( ) end if راح اضيف شرط صارت ثنتين function noName ( ) if ....... then end end for راح اضيف صارت ثلاث function noName ( ) if ....... then for ................. do end end end راح اضيف لها إيفنت function noName ( ) if ....... then for ................. do end end end addEventHandler ( ".............", ....., noName ) راح اسوي الإيفنت بالشكل المختصر addEventHandler ( ".............", ....., function ( ) if ....... then for ................. do end end end ) Notepad لو تحمل برنامج مع وظيفتها بالالوانend راح تلاحظ انه يميز كل
-
root = getRootElement ( ) تابع الشجرة .. https://wiki.multitheftauto.com/wiki/Element_tree او بالأصح شف ذا https://wiki.multitheftauto.com/wiki/Element
-
تواصل معي عبر الإيميل .. اسهل [email protected]
-
عادي يضبط لية لا # بس لازم يركب بـ نفسة او يغيرة لـ onVehicleEnter . local x,y,z = getElementPosition(car7) local marker = createMarker ( x,y,z, "arrow", 4,255, 0, 0, 170 ) addEventHandler("onVehicleEnter",root, function () attachElements (marker,car7) end ) root = راح تككون جميع المركبات بالنسبة لهذا الإيفنت
-
عليكم السلام .. متى دفعت + و وش الطريقة المستخدمة ؟
-
وشو اللي لقيت .. ابدا من الصفر لا تبحث عن اكواد جاهزة ..
-
pp = guiCreateProgressBar(535, 10, 294, 41, false) guiSetVisible(pp, false) function show() if guiGetVisible(pp) then guiSetVisible(pp, false) else guiSetVisible(pp, true) end end bindKey("F3", "both", show) function checkVehicles( theVehicle ) local id = getElementModel ( theVehicle ) if id == 411 then guiProgressBarSetProgress( pp, guiProgressBarGetProgress( pp ) + 1 ) end end addEventHandler("onClientMapStarting", root, checkVehicles) هذا بيزيد 1 مرة واحدة فقط مافيه شيء يعيد الوظيفة حط الإيفنت على كودي
-
الريس طريقته مختلفة لأنه سيارة جاهزة ماتضغط انتر .. تقدر تستخدم الإيفنت ذا "onClientMapStarting"
-
+ attachElements مابسويه لكـ اعتمد على نفسك
-
pp = guiCreateProgressBar ( 535, 10, 294, 41, false ) guiSetVisible ( pp, false ) function show ( ) if guiGetVisible ( pp ) then guiSetVisible ( pp, false ) else guiSetVisible ( pp, true ) end end bindKey ( "F3", "down", show ) function checkVehicles ( theVehicle ) if getElementModel ( theVehicle ) == 411 then if isTimer ( Timer ) then killTimer ( Timer ) end Timer = setTimer ( upgradeValues_, 100, 0, pp ) end end addEventHandler ( "onClientPlayerVehicleEnter", root, checkVehicles ) upgradeValues_ = function ( progress ) if progress and getElementType ( progress ) == "gui-progressbar" then local ProgressValue = guiProgressBarGetProgress ( progress ) if ProgressValue > 99 then if isTimer ( Timer ) then killTimer ( Timer ) return end end guiProgressBarSetProgress ( progress, ProgressValue + 1 ) end end
-
pp = guiCreateProgressBar ( 535, 10, 294, 41, false ) guiSetVisible ( pp, false ) function show ( ) if guiGetVisible ( pp ) then guiSetVisible ( pp, false ) else guiSetVisible ( pp, true ) end end bindKey ( "F3", "down", show ) function checkVehicles ( theVehicle ) if getElementModel ( theVehicle ) == 411 then if isTimer ( Timer ) then killTimer ( Timer ) end Timer = setTimer ( upgradeValues_, 100, 0, pp ) end end addEventHandler ( "onClientPlayerVehicleEnter", root, checkVehicles ) upgradeValues_ = function ( progress ) if progress and getElementType ( progress ) == "gui-progressbar" then local ProgressValue = guiProgressBarGetProgress ( progress ) if ProgressValue > 99 then if isTimer ( Timer ) then killTimer ( Timer ) return end end guiProgressBarSetProgress ( progress, ProgressValue + 1 ) end end
-
Thank you very much. first function. https://wiki.multitheftauto.com/wiki/Ch ... layersName how can i move it to ' Useful Functions ' page ?
-
https://wiki.multitheftauto.com/wiki/OnClientMouseEnter https://wiki.multitheftauto.com/wiki/OnClientMouseLeave guiSetAlpha
-
viewtopic.php?f=164&t=50471 == يساوي ~= لا يساوي
-
تم نقل السيرفر .. كيف عناد ما يقدر ؟ يعني انت دخلت لوحة التحكم حقتي و شفت الصلاحيات
