Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. Simply create the button outside the event onClientResourceStart but then you will need also to create the window outside the event because you are attaching the button to the window, Another option would be adding the event onClientGUIClick inside the event onClientResourceStart.
  2. العلامة تقدر تستخدمها في الفصل بالتيبل و ممكن استخدامها في الفنكشن ذا *موجود مثال بالويكي split بس في كود جعفر العلامة وجودها مثل عدم وجودها لان مالها اي فائدة
  3. TAPL

    VoteRedo Help #2

    Use > to know if it bigger than one.
  4. العلامة ذي مالها اي فائدة مجرد علامة يمكن يبي يوضح انه محترف
  5. TAPL

    VoteRedo Help #2

    Get the players count and minus one from it instead of dividing it by two.
  6. I guess you created the button inside the event onClientResourceStart and added the event onClientGUIClick outside the event onClientResourceStart which mean the button won't get create until the resource started fully and you tried to attach the button to the event onClientGUIClick before the resource started fully so that you get the error.
  7. TAPL

    AccountData

    سطر 18 ما اشوف له فائدة بالكود
  8. TAPL

    AccountData

    طيب شوف الدي بق إذا فيه اي خطأ و تأكد انك حاطه سيرفر بالميتا و يفضل تعدل سطر 17 if ( getElementType ( attacker ) == "player") then و تسويه كذا عشان الي يقتل نفسه ما يزيد if ( getElementType ( attacker ) == "player" and attacker ~= source ) then
  9. زاحف يقدر يضيفهم بدون SQL ? يعني انا ودي اسوي لوحة وابي الاعبين يضافون مثل ماقال بس مابي SQL كيف ؟ فيه اكثر من طريقة للحفظ ممكن تستخدم مثلاً: XML File Account data اسهل و افضل SQL بس بالنسبة لي
  10. يغلق
  11. يغلق
  12. TAPL

    AccountData

    /debugscript 3 Edit: الفاصلة الي حاطها في التيبل ما اعتقد تضبط , حط الفاصلة العادية
  13. The problem has explained itself (Failed to link to ajax), so if I were you I would check that the resource is exists and running.
  14. Add the event after you create the button not before. Also the function outputChatBox client side doesn't require player element.
  15. Put this on the top of the script. GUIEditor_Window = {}
  16. Your grid list variable is different in both code. player is not defined anywhere at line 4 on second code.
  17. حتى في بلاي موجود شوف الكود function spawn(player) if not isElement(player) then return end if get("spawnreset") == "onSpawn" then spawnpoint = getRandomSpawnPoint() end exports.spawnmanager:spawnPlayerAtSpawnpoint(player,spawnpoint,false) repeat until setElementModel(player,math.random(312)) fadeCamera(player, true) -- هنا setCameraTarget(player, player) showChat(player, true) end
  18. مهو ال spawnPlayer فية خاصية fadeCamera ليش يعاود يستخدمها ؟؟ https://wiki.multitheftauto.com/wiki/SpawnPlayer افتح الرابط و اقرأ الملاحظة
  19. ردود خارج الموضوع مالها داعي يغلق
  20. ليه ما تجربه و تكتشف بنفسك؟ true تحطه fadeCamera المفروض
  21. viewtopic.php?f=148&t=38233
  22. ما اشوف رابط مود ولا اكواد بالموضوع كيف نساعدك؟ شي غريب عجيب!
  23. ما اشوف اكواد بالموضوع
  24. Good job MTA Team, keep it up!
  25. طيب ليه تفتح موضوع جديد
×
×
  • Create New...