Jump to content

SycroX

Members
  • Posts

    2,141
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by SycroX

  1. it's not a trick .. + yes iam sure + seems that you didn't understand addEventHandler right so i suggest to read this page one time again https://wiki.multitheftauto.com/wiki/AddEventHandler
  2. use tables .. insert the used id to the table and check that the id isn't in the table when a player try to take a quest ex .. local myTable = {} addCommandHandler("q", function(p,_,n) local n = tonumber(n) if not myTable[n] then outputChatBox("number inserted to table .. ", p) myTable[n] = true else outputChatBox("this number is already inserted to the table", p) end end )
  3. function onMarkerHit(hitElement) if hitElement and getElementType(hitElement) == "player" and hitElement == localPlayer then addEventHandler("onClientRender", root, drawAlert) end end addEventHandler("onClientMarkerHit", marker, onMarkerHit) function onMarkerLeave(hitElement) if hitElement == localPlayer then removeEventHandler("onClientRender", root, drawAlert) end end addEventHandler("onClientMarkerLeave", marker, onMarkerLeave)
  4. if you built a code for him he will get used to ask for codes and wont learn something .. so the right way is to give him the functions and let him try by himself . he can also open the wiki and read about the functions and he will learn how to use it another thing .. your code is wrong , checkout line ( 3 & 11 )
  5. SycroX

    [HELP] Error

    it's tell you that there's no function with this name ( vioGetElementData ) try to replace the function name with ( getElementData )
  6. الأخ الي فوقك دخل معاك اختبارات جراند العرب و قبلوك و رفضوني ( ايام ما كنت جديد علي البرمجه ) ههههه لسا فاكرك و فاكر وش طلبو منك , كانت وظيفه و كان اسمك كركر او شي قريب من هيك ههه
  7. after a 1 hour ( with sponge bob sound ) ... lol hhhhhhhh -- for topic's owner addCommandHandler("vgun", function(player) if not isGuestAccount(getPlayerAccount(player)) then if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("VIP")) then giveWeapon(player, 31, 1000) outputChatBox("you've got a vip weapon", player, 255, 0, 0, true) else outputChatBox("this command is only for VIP group", player, 255, 0, 0, true) end end end )
  8. بالتوفيق , لا تخاذ الي هقولو ذا علي انه تحطيم , ذا اقتراح لا غير اقترح عليك تغير نظام اللوحات , احنا في 2018 الحين و صراحه لي كثير شايف النظام , و شي كمان المفروض تعطي للزائر سبب ( مود جديد بفكره حصريه ما سواها احد قبل تكون فله) عشان يقعد في السيرفر وألا ممكن اول اسبوع يكون السيرفر به 20 ولا 30 لاكن بعدها هيقل عدده لان ما في شي جديد و يطفشو و يروحو سيرفر اخر من الي فيه عدد كبير
  9. وعليكم السلام و انت بخير @Jupiter @a7zan @justboy كل عام و انتم بخير
  10. ccw'la konus , parala yapiliyor
  11. type /debugscript 3 and tell us at what line the problem is?
  12. استفسار فقط , في وش يفيدك اسم المود عشان تساعده علي حل مشكلته ؟
  13. function respawnPlayer() setTimer(function(source) fadeCamera(source,false,1.0,0,0,0) setTimer(fadeCamera,2000,1,source,true,1.0,0,0,0) setCameraTarget(source,source) showChat(source,true) showPlayerHudComponent(source,"radar",true) showPlayerHudComponent(source,"area_name",true) spawnPlayer(source,1224.029296875, -1814.9765625, 16.59375,accData.skin) end, 1500, 1, source) end addEventHandler("onPlayerWasted", getRootElement(), respawnPlayer) accData.skin not identified
  14. table table.insert --# "onPlayerCommand" loop or addCommandHandler
  15. استخدم المود ذا هيشفر لك كل الملفات الي بالمود , لو المود في ملف عادي ( مو مضغوط ) المود هيشفر الملفات تلقائي و مش هتحتاج تغير شي لما تشفره هيسوي لك ملف مو مضغوط بنفس اسم المود فيه الملفات المشفره , كل الي عليك تبدل الملفات المو مشفره بالمشفره و خلاص ( .zip ) لو المود مضغوط في ملف
  16. + 1 خاصه لو تبي تتعمق و تسوي مكتبه خاصه بك
  17. اسهل مثال تقدر تستخدمه عشان مود ساعات = getTickCount() لاكن طبعا بما ان اغلب العرب يسوو توزيع ساعات لهيك استخدم تايمر + جدول هتقولي ليه جدول هقولك جدول كمتغير مثال : array[player] = 0 array[player] = array[player] + 1 ذا طبعا تسويه في تايمر و كل 1 ثانيه تضيف قيمه 1 للجدول
  18. علينا و عليك + الوحيد الي له حق ينسأل السوال ذا لسا عايش ولا لا ؟ انت ههههههههههه منور
  19. تقولو له في الموضوع الثاني انقل موضوعك لقسم البرمجه و لما ينقله تقولو له مكرر ؟ عوافي
×
×
  • Create New...