Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/11/18 in all areas

  1. انت معك المود وفيه ملف تضيف فيه السريال بس تبي تضيف من داخل السيرفر بدون ما تعدله وترفعه من جديد؟
    1 point
  2. Quando você está em uma página qualquer de uma função GUI, você pode ir até o fim da página e procurar pela função que você deseja na lista do "See Also". Ela está organizada pelos tipos de elementos GUI, no seu caso era só olhar no Tab Panels.
    1 point
  3. 1 point
  4. ¿What? Si esa es la función que le da vida xd
    1 point
  5. What you can do is to make a module, see here: https://wiki.multitheftauto.com/wiki/Modules. But that's only server side.
    1 point
  6. be a contributor at MTA:SA Blue with your kdge in (C++)
    1 point
  7. first watch some youtube videos may help you or look for someone know the langaunge
    1 point
  8. https://wiki.multitheftauto.com/wiki/Server_Scripting_Functions#UTF8_Library
    1 point
  9. function llenarAlCambiar(oldModel, newModel) if ( getElementType(source) == "player" ) then setElementHealth( source, 100 ) end end addEventHandler("onElementModelChange", getRootElement(), llenarAlCambiar) Esto debería funcionar. Recuerda que es lado server.
    1 point
  10. I checked my code and that's true - all data saved except for functions i'll try to rewrite functions using elements only and connect them with metatables with elementData
    1 point
  11. Si reinicias un script con esa función, se le reiniciará a todos. Si lo vas a hacer para jobs o algo así, deberías crear todo de 0 una vez muera o lo que sea. Supongo que tendrás alguna función que inicie el "trabajo", pues, repítela cuando muera, por ejemplo.
    1 point
  12. Ever seen a meta table as they are created? A meta table is used to change the behaviour of a regular table. The main issue is with the fact that it uses functions to achieve this behaviour. And functions... Optional Arguments NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments. sendTo: The event will be sent to all players that are children of the specified element. By default this is the root element, and hence the event is sent to all players. If you specify a single player it will just be sent to that player. This argument can also be a table of player elements. arguments...: A list of arguments to trigger with the event. You can pass any lua data type (except functions). You can also pass elements. https://wiki.multitheftauto.com/wiki/TriggerClientEvent ...can't be send over according to wiki. But even if this is a meta table, you will have the same problem with a regular table. This has probably happend: all the functions that are inside of the table are deleted.
    1 point
  13. The most fast methods are very dirty. I will only explain those ones when I think you have learned enough from the clean ones. But make one first. Just two loops, one nested in to the other. And try to figure out what the most logic human method would be to achieve your goal. If it fails, don't worry, just post what you tried. But it has to be yours, only then I will help you.
    1 point
  14. السلام عليكم ورحمة الله وبركاته اعتذر للجميع عما بدر مني في الأيام او الشهور السابقة وأقدم اعتذاري الشديد لـ الأخ كيلر و ديستروير والباقيين مبدأنا نغلط ونرجع عن غلطنا كلنا ناقصين والكمال لله عز وجل اعتذر لكم بما بدر مني من كلام , ساعة غضب وكن عفوا فالله عفو يحب العفو واستودعكم الله الذي لا تضيع ودائعه , اراكم على خير
    1 point
  15. لااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااا لااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااالااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااا
    1 point
  16. تم اضافة القسم here مبروك عليكم الرجاء من المشرف اغلاق الموضوع
    1 point
  17. السلام عليكم ورحمة الله وبركاته حاب اطلق برنامج بسيط وهو تحويل الانجليزية للعربية ثعني مثلاً mr7ba > مرحبا شوفوا الصور او حملوه: بصراحة ما ادري ايش فايدته بالزبط بس سويته تسلية لاغير .. والي يقول ملغم ومدري ايش، هذا من الآخر ، شوف الفكرة بالصورة وعطني آرائك رابط التحميل (مع التنصيب): http://www.mediafire.com/download/2vxjx ... icV1.0.exe بدون تنصيب: http://www.mediafire.com/download/3lwd2 ... verter.rar
    1 point
  18. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاته ... والخ end عند كتابة الاكواد يمكنك ترتبيها لتكون اكثر وضوحاً للقارئ وغالباً لك لكي تعرف الاخطاء التركيبية مثل: عدم تكملة قوس, نسيان :مثال الآتي end ف عند كتابة اي شيء يمكنه ان يغلق ب function myFunction(myArgument) if myArgument then -- الخ .. end end Enter انتقل للسطر التالي بالضغط على زر او اترك مساحة من اربع حروف Notepad++ اذا كنت تستعمل Tab ثم اضغط على زر :مما يجعل الكود قابل للقرائة وليس كالتالي function myFunction(myArgument) if myArgument then -- الخ .. end end والسلام عليكم ورحمة الله وبركاته
    1 point
×
×
  • Create New...