-
Posts
4,805 -
Joined
-
Last visited
-
Days Won
10
Everything posted by فاّرس
-
استبدلها بـ لوكال بلير uPlayer عندكـ خطا بسيط انه حاط باول ارقمنت string button, string state, int absoluteX, int absoluteY button: the name of the button which will be clicked , it can be left, right, middle
-
Hi , this's not a right section, you can put your topic in ARABIC SECTION . viewforum.php?f=119
-
فكره حلوه , نشوف احسن منها إن شاء الله , بالتوفيق .
-
حلو جدا التطوير ,,, لكن الخلفيه احسها غلط يعني حط خلفيه جذابه , و لون الكلام حط الوان اكثر جاذبيه ... بالتوفيق .
-
اهم شيء والي يشيل نص السيرفر , هو التصميم , تلاحظ بعض السيرفرات موداتهم موب ذيك الخورافيه , ولكن النوافذ تعطيها نكهه اعتقد لو تحاول تترك النوافذ حق اللعبه وتشتغل ع الدي اكس والتأثيرات راح تفيدك ... بالتوفيق .
-
+ معلومه جديده نوعا ما , انا حسبت انه راح ينحذف لا هنتم , يعطيكم العافيه
-
انت تبي كل الازرار الي في ملف الكلينت تتلون ؟ هذا طلبك :
-
^ اي صحيح , انا لصقتها ونسيت اعدل * مشكور تم التعديل .
-
المشكله كانت عندك في سطر 3 و 8 , بالنسبه لـ 3 ليه تسوي سياره مره ثانيه ؟ وليه حاطها داخل سترنق ( " " ) ذذ غير معرف ذذ x,y,x وبيكون بالنسبه لسطر 8 , كيف تنقل اللاعب لـ سترنق ؟ يعني انت تبي تحط اللاعب داخل علامه التنصيص ( " " ) ؟؟ وانا حليتها بأني سويت جدول , عشان يكون لكل لاعب سياره خاصه فيه , لو سويتها بدون جدول الي ينزل سياره وانت نزلت بعده سياره تنسحب سيارته الي نزلها قبلك ذذ وسويت لو طلع اللاعب تنحذف السياره , عشان ما تلقى سيارات كثير فاضيه بالسيرفر ذذ وسويت لو انفجرت تنحذف ذذ اي شيء ما فهمته قول
-
-- Server Side # local cmd = "موتر" local msg = "تم اعطائك موتر" local vehicle = {} addCommandHandler(cmd,function( player ) if isElement ( vehicle [ player ] ) then destroyElement ( vehicle [ player ] ) vehicle [ player ] = nil end local x, y, z = getElementPosition ( player ) vehicle [ player ] = createVehicle ( 429, x, y, z + 10 ) warpPedIntoVehicle( player, vehicle [ player ] ) outputChatBox( msg, player, 255, 255, 0 ) end ) addEventHandler ( 'onPlayerQuit', root, function () if isElement ( vehicle [ source ] ) then destroyElement ( vehicle [ source ] ) vehicle [ source ] = nil end end ) addEventHandler( 'onVehicleExplode', resourceRoot, function () destroyElement ( source ) end )
-
.:[ قمبلة محترفين الالعاب الحصرية، شراء المقرات المطور ]:.
فاّرس replied to Bssol's topic in Arabic / العربية
وعليكم السلام ورحمه الله وبركاته , حلوه جدا الفكره , , نشوف احسن منها ان شاء الله بالتوفيق -
يا راقل ؟ كيف تفهم انت؟ وين مكتوب ان حق الدمج هو لوكل بلير ؟ اشوف مكتوب ان السورس هو اللاعب الي تدمج !!!
-
onClientPlayerSpawn : The source of this event is the player that spawned.
-
-__-" الي انضغط , يعني انت تبي تحط الزر بعالم وهمي ؟ GUI حبيبي السورس هو الـ
-
dxGUI تقدر تفتح مود وتآخذ اكواد الجريد ليست وحطها بمودك , احسن لك ذذ
-
الكود سيرفر ^ اجل وش نظامك كم مره تبيه ياخذ ومتى ؟
-
اقصد ترو الي في الكوماند ذذ ما انتبهت على الي فوق , بالنسبه للقوس شفته حسبت اني كتبته ,, المهم مشكور ع التنبيه . مواصل معد اشوف
-
player بـ true شيل اسم الوظيفه, وبدل
-
الله يعافيك , حياك الله بأي وقت ... كفوك يالذيب
-
r,g,b = 75,206,250 rr,gg,bb = 0,0,0 num = 1 px = 0 local width, height = 1366, 768 -------------------- function getColor() return r,g,b end function getBackColor() return rr,gg,bb end function setColor(tr,tg,tb) r,g,b = tr,tg,tb end function setBackColor(r,g,b) rr,gg,bb = r,g,b end function isEventHandlerAdded( sEventName, pElementAttachedTo, func ) if type( sEventName ) == 'string' and isElement( pElementAttachedTo ) and type( func ) == 'function' then local aAttachedFunctions = getEventHandlers( sEventName, pElementAttachedTo ) if type( aAttachedFunctions ) == 'table' and #aAttachedFunctions > 0 then for i, v in ipairs( aAttachedFunctions ) do if v == func then return true end end end end return false end original = function () local x,y = guiGetScreenSize() dxDrawRectangle(0,y * ( 400 / height ),x * ( 1365 / width ), y * ( 40 / height ) ,tocolor(rr,gg,bb,120)) dxDrawText(msg[num],x * ( px / width ),y * ( 800 / height ),x * ( 1365 / width ), y * ( 40 / height ),tocolor(r,g,b,255),1.5,"default-bold","center","center",false,false,false,true) end addEventHandler("onClientRender", root, original ) addCommandHandler ('الشريط',function () if isEventHandlerAdded ( 'onClientRender', root, original ) then removeEventHandler("onClientRender", root, original ) if isTimer ( start ) then killTimer ( start ) start = nil end else addEventHandler("onClientRender", root, original ) start = setTimer(makeTurn,50,0) end end ) function makeTurn() local x,y = guiGetScreenSize() local x = x + 50 if px >= x then px = -x setMsg() else px = px + 6 end end function setMsg() if num == #msg then num = 1 else num = num + 1 end end ---- start = setTimer(makeTurn,50,0)
-
عندي لك طريقه عشان يكون الشريط لكل الشاشات بحيث ما يختلف في الشاشات الكبيره او الصغيره, r,g,b = 75,206,250 rr,gg,bb = 0,0,0 num = 1 px = 0 local width, height = 1366, 768 -------------------- function getColor() return r,g,b end function getBackColor() return rr,gg,bb end function setColor(tr,tg,tb) r,g,b = tr,tg,tb end function setBackColor(r,g,b) rr,gg,bb = r,g,b end addEventHandler("onClientRender",root, function () local x,y = guiGetScreenSize() dxDrawRectangle(0,y * ( 400 / height ),x * ( 1365 / width ), y * ( 40 / height ) ,tocolor(rr,gg,bb,120)) dxDrawText(msg[num],x * ( px / width ),y * ( 800 / height ),x * ( 1365 / width ), y * ( 40 / height ),tocolor(r,g,b,255),1.5,"default-bold","center","center",false,false,false,true) end ) function makeTurn() local x,y = guiGetScreenSize() local x = x + 50 if px >= x then px = -x setMsg() else px = px + 6 end end function setMsg() if num == #msg then num = 1 else num = num + 1 end end ---- start = setTimer(makeTurn,50,0) عندك في السطر 5 , تحط الطول والعرض حق الشاشه حقك, كمثال الشاشه حقي local width, height = 1366, 768
-
! فـ بيكون خطأ GUIEditor مافيه جدول اسمه GUIEditor.label[1] اول خطأ انك كنت حاط متغير اللبل ثانيا خطأ عندك كان سطر 15 و 16 السطر انت حاطه 0 , فـ لو عندك قيمتين كيف تحطهم بسطر واحد؟ , شوف انا كيف سويت ذذ ,{ v[2] , v[3] , v[4] } وهذا خطأ , الاسهل انك تسوي جدول بسيط and ثالث خطأ عندك كان سطر 16 , حطيت (وتجيب قيمهم بإستخدام الاندكس ( رقم القيمه
-
انت وش تقصد بنص السيرفر ؟ يعني تبي تغير موقع الكلام والشريط الاسود؟