Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 28/11/16 in all areas

  1. السلام عليكم ورحمة الله وبركاته موضوعي هذا بيكون عن شي - ( فكرة جديدة يعني ) - سويته وحبيت اشوف رأيكم فيه طبعاً هو شي منوب وسهل بس هدفي منه هو التجربة والتجديد المهم هاذي صور من اللعبة ..................................................................... ..................................................................... ................................................................................................................. فكرة اللعبة انك تتحرك بالأسهم وتاخذ الاشياء اللي تظهر لك وتكسب فلوس - رقم عشوائي وبس ههههههه اتمنى اعرف رأيكم في هذا الشي وهاذي البداية المنوبة ميشان اصنع العاب بنفسي ... رابط التحميل ... ... ملاحظة اللعبة تفتح من اف 2 داخل جراند ... ... اضغط هنا ... ملاحظة : احتمال كبير ما ارد على احد لأني ما افتح كثير متل اول ادعولي اخلص دراستي على خير ترا آخرتها لاب توب هههههه
    2 points
  2. @iPrestege اذا كتبت شي فيه " الٱ" يجي بشكل مختلف ، مثلا الٱكواد تحي هيك الظ±كواد او اذا انا جوال مدري
    2 points
  3. We don't use Geshi anymore. We now use Google's Prettify library in both the Wiki and Forums. It's normally quite easy to implement into a web site, you just have to add some custom JS includes and custom BBcode tags. I'll be releasing a Google Prettify compatible MTA syntax highlighter (the one used to link to wiki and colours) in the next few days. You'll need configure VBulletin or modify the source code to include the following to JS (in our forum software this is achieved by modifying the theme): <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script> <script src="https://cdn.rawgit.com/google/code-prettify/master/src/lang-lua.js"></script> <!-- Lua not added by default, add it--> <script> addEventListener('load', function (event) { PR.prettyPrint() }, false); </script> Then you'll need to make a custom BBCode to produce the following tag (e.g. configure a [lua][/lua] bbcode): <pre class="prettyprint lang-lua">--LUA HERE</pre>
    2 points
  4. السلام عليكم ورحمة الله تعالى وبركاته, شرح مفصل عن كيف تسوي سكربت وكيف تحط ميتا له وكيف تبرمجه وتصمم لوحة وتخليها تفتح بواسطة زر أول شرح في دخول البرمجة, أتمنى يكون الشرح مفيد لكل الأشخاص اللي يبون يكونون مبرمجين لآتنسى دعمي بالضغط على زر لايك للفيديو والإشتراك بالقناة لو كنت حاب انزل مودات وشروحات واشياء اكثر, الشرح : في أمان الله, اخوكم مستر جراند
    1 point
  5. يب معك حق , دخلت لاب م لقيت المشكل , اظن جوالي راسه يوجعه
    1 point
  6. يا اخوان ماله داعي كل هذا وظيفتي اللي عطيته كافيه
    1 point
  7. السلام عليكم .. نقدر نقول الحمدالله حققنا اول هدف الى هو وصول منتدى 100 عضو .. المواضيع: 407, المشاركات: 2,205, الأعضاء: 100, ---------------------------------- بمناسبة افتتاح المنتدى نبحث عن اعضاء متفاعلين ومجتهدين في المنتدى - يسرنآ تسجيلك معنآ . http://www.mtaarabs.com/vb/register.php طلبات اشراف : http://mtaarabs.com/vb/showthread.php?p=48#post48
    1 point
  8. Hi everyone, hope you are guys fine i'm looking for a highlight plugin for vBulletin forum script for 'Lua' language if anyone have it i would like to ask to post it in here also i don't know how to make it return to the wiki page when function called or event like the one in here if someone can tell me i would really appreciate it. @darkdreamingdan @Jusonex Thanks guys!
    1 point
  9. Hi dan glad to hear that you are going to release a library for the mta highlighter : ) I think it can be done also in the vBulletin software by editing the styles or the theme as you said above so i found this in my style/theme ; <!-- / controls for non-popup browsers --> <if condition="$show['ajax_js']"> <script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> <!-- vB_AJAX_Threadlist_Init('threadslist'); var titlemaxchars = parseInt("$vboptions[titlemaxchars]"); //--> </script> </if> <!-- ############## END THREADS LIST ############## --> <!-- ### This is just an example of my forum style files --> so i guess i can add it to the forum editing the style/theme ? Thanks for the reply also please tell us when you release your own library ;p
    1 point
  10. HELLOM , IAM RAHMAT FROM INDONESIAN , please help me to find the code on my server resources, which is a code to replace the amount of blood that was 100 to 20 when the characters come to life again. thank you .
    1 point
  11. هذا الكود الصحيح اللي استخدمه الاخ مون للي يحتاجة عدلته وارسلتة خاص : addEventHandler( 'onClientGUIClick',root, function ( ) for i = 1,8 do if source == GUIEditor.button[i] then ammount = guiGetText ( Ammo ); if ( ammount and not tonumber ( ammount ) ) then return outputChatBox ( 'Error only numbers allowed!',200,0,0 ); end if tonumber ( ammount ) < 0 then return outputChatBox ( 'must be over 0' ) end end end if ( source == GUIEditor.button[1] ) then triggerServerEvent("Weapon.Shop.A",localPlayer,ammount ) elseif (source == GUIEditor.button[2]) then -- triggerServerEvent("Weapon.Shop.B",localPlayer,ammount) elseif (source == GUIEditor.button[3]) then triggerServerEvent("Weapon.Shop.C",localPlayer,ammount) elseif (source == GUIEditor.button[4]) then triggerServerEvent("Weapon.Shop.D",localPlayer,ammount) elseif (source == GUIEditor.button[5]) then triggerServerEvent("Weapon.Shop.E",localPlayer,ammount) elseif (source == GUIEditor.button[6]) then triggerServerEvent("Weapon.Shop.F",localPlayer,ammount) elseif (source == GUIEditor.button[7]) then triggerServerEvent("Weapon.Shop.H",localPlayer,ammount) elseif (source == GUIEditor.button[8]) then triggerServerEvent("Weapon.Shop.I",localPlayer,ammount) end end ) +Anytime
    1 point
  12. function registerHandler(thePlayer, username, password) local account = getAccount(username, password) -- you need this username = mysql_escape_string(handler, username) password = mysql_escape_string(handler, username) -- because i can put in password string "';[My Custom SQL Query been execute, lol]'" local query = "SELECT * FROM accounts WHERE username=\'"..username.."\' and password=\'"..password.."\';" local result = mysql_query(handler, query) -- ... end in 65 line you have "INSERT INTO accounts (username, password, ip, srial, registerDate) ..." srial? maybe "serial"
    1 point
  13. addEventHandler( 'onClientGUIClick',root, function ( ) for i = 1,8 do if source == GUIEditor.button[i] then local ammount = guiGetText ( Ammo ); if ( ammount and not tonumber ( ammount ) ) then return outputChatBox ( 'Error only numbers allowed!',200,0,0 ); end end end if ( source == GUIEditor.button[1] ) then triggerServerEvent("Weapon.Shop.A",localPlayer,ammount ) elseif (source == GUIEditor.button[2]) then -- triggerServerEvent("Weapon.Shop.B",localPlayer,ammount) elseif (source == GUIEditor.button[3]) then triggerServerEvent("Weapon.Shop.C",localPlayer,ammount) elseif (source == GUIEditor.button[4]) then triggerServerEvent("Weapon.Shop.D",localPlayer,ammount) elseif (source == GUIEditor.button[5]) then triggerServerEvent("Weapon.Shop.E",localPlayer,ammount) elseif (source == GUIEditor.button[6]) then triggerServerEvent("Weapon.Shop.F",localPlayer,ammount) elseif (source == GUIEditor.button[7]) then triggerServerEvent("Weapon.Shop.H",localPlayer,ammount) elseif (source == GUIEditor.button[8]) then triggerServerEvent("Weapon.Shop.I",localPlayer,ammount) end end ) معليش مانتبهت حطيتها بالروت + جرب الحين ؟ ماني فاهم وش اللي تسوية بالضبط
    1 point
  14. addEventHandler( 'onClientGUIClick',root, function ( ) local ammount = guiGetText ( Ammo ); if ( ammount and not tonumber ( ammount ) ) then return outputChatBox ( 'Error only numbers allowed!',200,0,0 ); end if ( source == GUIEditor.button[1] ) then triggerServerEvent("Weapon.Shop.A",localPlayer,ammount ) elseif (source == GUIEditor.button[2]) then -- triggerServerEvent("Weapon.Shop.B",localPlayer,ammount) elseif (source == GUIEditor.button[3]) then triggerServerEvent("Weapon.Shop.C",localPlayer,ammount) elseif (source == GUIEditor.button[4]) then triggerServerEvent("Weapon.Shop.D",localPlayer,ammount) elseif (source == GUIEditor.button[5]) then triggerServerEvent("Weapon.Shop.E",localPlayer,ammount) elseif (source == GUIEditor.button[6]) then triggerServerEvent("Weapon.Shop.F",localPlayer,ammount) elseif (source == GUIEditor.button[7]) then triggerServerEvent("Weapon.Shop.H",localPlayer,ammount) elseif (source == GUIEditor.button[8]) then triggerServerEvent("Weapon.Shop.I",localPlayer,ammount) end end )
    1 point
  15. وش قصدك وضح اكثر كود سحب الفلوس لازم تحقق انة اعلى من اللي مع الاعب او انة الرصاص اعلى من واحد مثلاً سوي تحقق انة اكبر من صفر if guiGetText > 0 then
    1 point
  16. هذي تكون كذا : Ammo = guiCreateEdit ( 208,276,120,49,'',false,Window );
    1 point
  17. local ammount = guiGetText ( Ammo ); if ( ammount and not tonumber ( ammount ) ) then return outputChatBox ( 'Error only numbers allowed!',200,0,0 ); end
    1 point
  18. As far as my SQL knowledge goes there has to be a: WHERE username = .... So that you don't update the entire table
    1 point
  19. وين السيرفر ؟
    1 point
×
×
  • Create New...