Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/11/17 in all areas

  1. السلام عليكم اليوم جبتلكم سكربت بسيط و اتوقع ماله فايدة الكم بس حبيت اسويه وانشره هيك طبعا السكربت هو سكربت شخصية ترافلجار لاو من أنمي ون بيس + سيفه وسويته مع قدراته الي هي يقدر يسوي غرفة وهيك إلخ.. الي طبعا ما يعرف ون بيس مارح يعرف وش اقصد انا ض1 كيف تسوي حركاته ( طبعا اهم شي لازم يكون معك الشخصية والي هي 217 مشان تقدر تسوي قدراته ) رقم الشخصية : 217 سلاحه : السيف زر 1 = يصنعلك روم زر 2 = يحذف الروم زر 3 = يسوي انفجار بداخل الروم زر 4 = يسوي نار بداخل الروم زر 5 = يعطي كل الي جوا الروم دم زر 6 = يزيل رأوس كل من في الروم ويقتلهم زر 7 = ينقل كل من في الروم لمكان بعيد زر i = يجبلك كل المعلومات حول الازرار طبعا لما تيجي تستخدمهم لازم يكون معك السكن علشان يجوك صورة : :الاهدائات @#_'Lu[F]Fy @MR.StoRm @iMr.WiFi..! @#BrosS @#Soking @!#NssoR_) @iPrestege @Abu-Solo @MR.S3D @MR.GRAND @Source|> @Abdul KariM @#RoLde @*Sailor @Ahmed Ly @Rakan# @xX_Ma[D]arA_xX @#,+( _xiRoc[K]; > @Sha67 @DABL @Jupiter @Tete omar @3NAD -- واسف اذا نسيت احد -- الباقي في القلب __________________________ الان نيجي للتحميل لتحميل السكربت : اضغط هنا ______________________________________________ وقريبا ان شاء الله شخصية زورو ض1 ويلا مع السلامة .
    3 points
  2. وعليكم السلام انا ماقصد تحطيم بس ماشوف انه فيه داعي انك تسوي شرح لمثل هذي الوضائف + و حتى لو بتسوي وضح على الأقل وش يسوي الفنكشن ووش يرجع + في خطأ في الأمثلة انت حاطه كذا getAccountSerial ( 'Talis' ) و من المفترض انه يكون كذا local acc = getAccount ( 'Talis' ); if ( acc ) then getAccountSerial ( acc ) end
    2 points
  3. 2 points
  4. table guiGridListAddRow guiGridListSetItemText guiGridListSetItemData addEventHandler 'onClientGUIClick' guiGridListGetSelectedItem guiGridListGetItemData guiGetText math.ceil triggerServerEvent addEvent addEventHandler getPlayerMoney takePlayerMoney giveWeapon Ex. to table : local WeaponTable = { { 'AK - 47' , 31 , 2000 } } -- { Weapon Name , Id Weapon , Ammount of Clip } Ex. to loop of table : for i , v in ipairs ( WeaponTable ) do outputChatBox ( v [ 1 ] ) -- Result : AK - 47 outputChatBox ( v [ 3 ] ) -- Result : 2000 end math.ceil ? -- CLip of M4 ( 50 ) guiSetText ( SomeEdit , '55.3' ) -- this is ammount of clip math.ceil ( guiGetText ( SomeEdit ) ) -- Result : 55 !
    2 points
  5. If the server is set up to follow your server's bans for that ban type as well, then yes. Adding a ban like that would most likely look something like this: Then in the server settings for the other server your server would need to be enabled like this: So with the config above if I ban someone from SAES:RPG, and your server has "abusive behaviour" bans from SAES:RPG enabled, then the player will also e unable to join your server (given you have implemented the code snippet which can be found on the developers page, on the management dashboard, whilst logged in with your server account. The reason SAES:RPG is there is because I am actually the lead developer of SAES:RPG. I hope that in the coming weeks many other servers will join the platform, so we can keep our servers clear of any nasty people.
    2 points
  6. -----------------------------------------------Client m = createMarker "onClientMarkerHit" "onClientGUIChanged" "onClientGUIClick" guiGridListGetItemData guiGetText guiSetText guiSetVisible guiGridListGetSelectedItem getElementType isPedInVehicle -- then return end triggerServerEvent -----------------------------------------------Server addEvent addEventHandler getPlayerMoney giveWeapon takePlayerMoney outputChatBox مش مرتبين
    2 points
  7. We all know that cheaters and hackers are not people you want on your server, or on any server for that matter. In order to prevent these people who get banned on one server for cheating, hacking (or just being a dickhead) from joining another server and doing the exact same, ruining the game for other players I have developed Bansync. Bansync is a way for a server owner to both contribute, and profit from a ban database, somewhat similar to how VAC works. Where getting banned from one server would mean you get banned from others as well. Anyone can sign up to join bansync as a server, and contribute to the database. And as a server owner you will be able to specify per server what types of bans you want to enforce on your server. ( See screenshot in spoiler below) Besides just being a ban database, it's also a platform for people to appeal their bans which were handed out using bansync. When an appeal is accepted the ban is automatically lifted and the player will be able to play on any servers enforcing bansync. Bansync runs as a website at https://bans.nanobob.net/ , once you sign up for a server account you will have information on how to implement bansync available on your admin dashboard. I welcome any questions, and encourage you to browse the website, it contains a more detailed and in depth explanation of the project. I would also like to ask for anyone who is interested and owns a server, or plays on a server which you think should be hacker free, to implement this, or ask the developers to implement bansync. This way we can make the MTA community just a bit nicer for everyone. Screenshots:
    1 point
  8. السلام عليكم ورحة الله وبركاته اليوم بسويلكم شرح عن الويكي وكيفية التعامل معها بدون مقدمات بسم الله الرحمان الرحيم أولا رابط الويكي: https://wiki.multitheftauto.com/wiki/Main_Page اول ما تدخل الويكي رح تشوف الصفحة هاذي كمبتدأ رح تحتاج بس الي بالمربع الأحمر وش هاذي الصفحات ؟ هاذي اقسام الفنكشنات والاحداث Client Functions = الوظائف الي للكلينت (ممكن تلاقي فنكشنات ينفع تستعملها للسيرفر والكلينت) Client Events = الاحداث الي للكلينت Server Functions = الوظائف الي للسيرفر (ممكن تلاقي فنكشنات ينفع تستعملها للسيرفر والكلينت) Server Events = الاحداث الي للسيرفر وظائف الكلينت-Client Functions ندخل نشوف هاذي الصفحة هاذي اقسام الوظائف يعني مثلا انت تبي وظائف العلامات على الخريطة تدخل على 2 Blip functions وتشوف كذا اذي هي وظائف العلامات على الخريطة الحين تعلمنا كيف نبحث عن الفنكشنات الحين ندخل لوظيفة رح ندخل GetBlipSize رح نشوف اسم الوظيفية ولون ازرق وش هذا اللون هاذ اللون يعني انه الوظيفة يمكن ان تستخدم في الكلينت والسيرفر اما اللون البرتقالي فهي للسيرفر فقط اما احمر فهي للكلينت فقط هنا نشوف شرح عن الوظيفة ببساطة وهو يجيب لك حجم العلامة . . . نجي للساينتكس وهو عبارة عن مبنى الوظيفة وهنا رح تواجهوا كلمات مثل int=رقم بدون فاصلة عشرية(اذا كتبت مع فاصلة رح يحسب بس الرقم بدون الفاصلة) bool/Boolean = true/false لازم نكتب Element = لاعب=player الترجمة الحرفية هي عنصر مثلا Float = عدد ممكن مع فاصلة عشرية ما بالوظيفة الي معنا ما في غير blip =Element نوع من ال https://wiki.multitheftauto.com/wiki/Element Required Argumentsنروح لل رح اسميها المستلزمات يعني الوظيفة ما رح تشتغل بدونها في نوعين نوع يكون بقوس مربع[]هاذي مو اجباري اما الي مو بالقوس المربع لازم تتواجد بالكود او ما رح يشتغل مثلا بهاذي الوظيفة بس موجود theBlip: The blip you wish to get the size of. يعني العلامة الي تبي تجيب حجمها الحين Returnsنروح ال وهي وش الكود رح يرجعلك اذا نجح بهاذ الوظيفة رح يرجعلك حجم العلامة بدون الفاصلة العشرية وخيرا يجيبلك مثال عالوظيفة نروح للأحداث ولي هي اذا صارت تشتغل الوظيفة اول ما نختار وظيفة رح تظهر هاذي الصفحة الاحداث زي الوظائف بس ما في احداث مشتركة(بلون ازرق) رح يكون شرح للحدث ولي هو اذا بدأ الاعب بدخول السيارة الحين نروح للباراميتير والي هي اذا صار الحدث راح يعطيك المعطياات بالنسبة للحدث الي اخذته enteringPlayer: الاعب الي بيدخل السيارة seat: المقعد الي راح يدخله الاعب jacked: الاعب الي بتحكم بالسيارة door: من أي باب دخل 0= باب السائق 1= باب الي جنب السائق 2= باب الخلفي اليسار 3= باب الخلفي اليمين نروح الحين للسورس ولي ترجمته الحرفية هي المصدر مصدر الحدث ولي هي السيارة بالحدث الي معي الحين نروح لالغاء الحدث والي هو اذا الاعب استخدم cancelEvent() If this event is canceled, the player will not enter the vehicle اذا استخمنا الفنكشن cancelEvent() رح يلغي عملية دخول السيارة وما راح يدخل وأخيرا رح يعطيك مثال عالحدث وبس أتمنى انكم استفدتم وبالتوفيق للجميع
    1 point
  9. السلام عليكم ورحمة الله وبركاته شرحنا اليوم عن وظيفة نسخ بيانات الحساب الى حساب آخر نبدأ بإسم الله : تركيب الوظيفة : bool copyAccountData ( account theAccount, account fromAccount ) account theAccount : الحساب الذي تريد أن تنقل البيانات إليه account fromAccount : الحساب الذي تريد نقل البيانات منه * الحسابات توضع بين علامة تنصيص ( ' ' , " " ) مثال على الوظيفة : addEventHandler ( 'onResourceStart' , resourceRoot , -- حدث عند تشغيل المود function ( ) -- وظيفة copyAccountData ( 'MR.StoRm' , '#Himoo' ) -- Mr.StroRm الى حساب #Himoo نقل البيانات من حساب end -- انهاء الوظيفة ) -- اغلاق الحدث والسلام عليكم ورحمة الله وبركاته .
    1 point
  10. yeah, but this forum helped me more so far than any mta-sa wikipedia page.
    1 point
  11. It is a common mistake (I am making sometimes the same mistake), but there is always wiki to find it.
    1 point
  12. ohh i see. i thought that triggerServerEvent's arg order is the same as triggerClientEvent's.
    1 point
  13. So the correct way is this: ? triggerClientEvent (element, "characterCreationMenu", element, v['accountname'])
    1 point
  14. https://wiki.multitheftauto.com/wiki/TriggerClientEvent Syntax: bool triggerClientEvent ( [table/element sendTo=getRootElement()], string name, element sourceElement, [arguments...] ) bool triggerClientEvent ( [table/element sendTo=getRootElement()], string name, element sourceElement, [arguments...] ) You forgot to set the sendTo.
    1 point
  15. I will spend what I can Thank you.
    1 point
  16. Because you haven't found it yet. The boss is probably created serverside, because it has to be synced with all other players. I do not know the script, neither I am going to spend time searching it for you (I don't have that luxury either). This will be your first research case, where you have to search and find a component you want to edit. Did you know that I spend more than 30 hours researching a single resource? (one of the first large resources I came in contact with) While researching I started to edit things on the way, which makes researching a bit more interesting. Tell me @TorNix~|nR, how much energy and time are you going to spend on achieving this?
    1 point
  17. WOW, AMAZING! It works! Thank you so much! No words By the way, first the server script issued a warning. But, then, one of my friends showed me a mistake, and everything works! Here's how it should look right: function say1Command ( playerSource, commandName ) triggerClientEvent (root, "onSay1", playerSource) end addCommandHandler ( "say1", say1Command ) [The topic is closed, thank you very much]
    1 point
  18. السلام عليكم ورحمة الله وبركاته الوظيفة تسمح لك بانك تجيب السريال من خلال حساب نبدأ على بركة الله : تركيب الوظيفة : string getAccountSerial ( account theAccount ) account theAccount : الحساب الذي تريد جلب السريال منه مثال على الوظيفة : local Serial = getAccountSerial ( 'Talis' ) outputChatBox ( Serial ) -- Result : FDMOIW4UR43JF4O38Y3R34YH1F ;-D مثال آخر : addEventHandler ( 'onPlayerLogin' , root , -- حدث عند الدخول function ( ) -- وظيفة local Serial = getAccountSerial ( 'Talis' ) -- جلب السريال من الحساب outputChatBox ( Serial ) -- اخرج نص بالشات بالسريال حق الحساب end -- انهاء الوظيفة ) -- اغلاق الحدث والسلام عليكم ورحمة الله وبركاته
    1 point
  19. شغال انذارات في الناس ؟ @!#NssoR_) هههههههههههههههههههههههههههههههههههههههههههههههههه
    1 point
  20. Wooow, thank you very much! It works now
    1 point
  21. AboShanab اول مبرمج تعاملت معه اسلوبه عسل Tan6el اخلاقه واسلوبه عسل وفلاوي iPrestege صديقي الصدوق معتزل من فترة كنت اداري في منتداه DABL اول مرة قابلته في سيرفر كنق الطاره اسلوبه حلو لكنه مهايطي شوي 3NAD عناد الله يعطيه العافية هو اللي خلاني افتح حساب باالمنتدى عام 2013 Nassor ساعدني في بعض المودات الله يعطيه العافية هو طيب بس شغال انذارات في الناس Abul Karim من افضل المبرمجين عندي اخلاقه عسل لكنه عصبي شوي
    1 point
  22. @!#NssoR_) من أحسن مبرمجين .. لي طبعا @MR.GRAND قلبه ابيض ويساعد الكل ويفآجئهم بلمودآت -* @iMR.WiFi..! ساعدني ف موداتي ^,^ بآقي مبرمجين .. >< #More + ..
    1 point
  23. 1 point
  24. الهدف من هذا موضوع شرح الوظائف وليس اعطاء الاكواد : ) + ipairs -- iterable عبارة عن وظيفة ترجع الاستعمال الصحيح في اللوب وجلب الاندكس والقيمة لو كانت القيمة غير معرفة السورس الأقرب لـ ipairs , وبعض الأمثلة دون استعمال ipairs : function iter (a, i) i = i + 1 -- يعرف قيمة i -- ويزيد عليها عند استعمال الفنكشن local v = a[i] -- نجلب القيمة عن طريق الأندكس if v then -- اذا قدرنا نجلب القيمة بالاندكس فهذا يعني انها غير معرفة return i, v -- راح يرجع الاندكس والقيمة end end function ipairs (a) return iter, a, 0 -- نفس iter ( a, 0 ) -- بس تصير مشكلة لو ماكتبتها بهالشكل لأن احنا بنستعملها في اللوب end print ( iter ( { 3 }, 0 ) ) -- result : 1 3 ------------------ WRONG - أستعمال خاطئ for i, v in iter ( { 3 }, 0 ) do print ( v ) end ------------------ استعمال صحيح - Success for i, v in iter, { 3 }, 0 do print ( v ) end
    1 point
  25. @iMr.WiFi..! > اكثر شخص عصبي بالمنتدى الححب مستر واي فاي بسس يسساعد ويحب الكل , @!#NssoR_) > يوم اكلمه احس نفسي اكلمم عملاق LUA @ععيونككء اخخر امممأليء ^ > النوب حقي اقصصد القلب هههههههههههههههههههههههههههههههههههههههههههههههههههههههه
    1 point
  26. Por favor, utilize a ferramenta <> para postar scripts. Acho exagero colocar nível de procurado máximo logo de cara, mas é você quem sabe. function playerKilled (ammo, killer, weapon, bodypart) if killer then -- Se morreu por causa de alguém, então: if getElementType (killer) == "player" then -- Se quem matou for um jogador, então: setPlayerWantedLevel (killer, 6) -- O jogador que matou fica com nível 6 de procurado. elseif getElementType (killer) == "vehicle" then -- Se quem matou for um veículo, então: killer = getVehicleController (killer) -- Killer passa a ser quem está dirigindo o veículo que matou o jogador. if killer then -- Se existe alguém dirigindo o veículo, então: setPlayerWantedLevel (killer, 6) -- O motorista fica com nível 6 de procurado. end end end -- Se o jogador morreu por suicidio, nada acontece. end addEventHandler ("onPlayerWasted", getRootElement(), playerKilled) E seu script não faz sentido algum.
    1 point
  27. لأنك حطيت رتبة ماهي موجودة !
    1 point
  28. MTA uses .fx files along with lua. There's no way to make them functional on SP. SAMP I'd stay away from all together though it's a load of crap.
    1 point
  29. السلام عليكم ورحمة الله وبركاتة لقد تم إضافة خاصية حماية الحساب قبل فتره بسيطة وتم إنشاء هذا الموضوع لمن لم يلاحظ وجود هذه الخاصية او لمن لايعرف طريقة إستخدامها حتي ! اولأ طريقة تفعيل هذه الحماية عن طريق إتباع الخطوات التالية : Account Settings الذهاب الي ومن ثم كما موضح في الصورة ومن ثم سيطلب منك إدخال الباسورد الحالي لحسابك ومن ثم سيفتح لك هذه النافذه والان اصبح لديك 3 خيارات وسأقوم بشرح كل واحده منهم Authy: تقوم بإرسال كود سري لهاتفك ومن ثم سيطلب المنتدي منك إدخال هذا الكود السري في المنتدي لتتمكن من فتح حسابك Google Authenticator: يجب عليك تحميله علي هاتفك ومن ثم سيعطيك كود سري وسيطلب منك المنتدي هذا الكود السري لتتمكن من فتح حسابك Security Questions: اسئلة الامان ( لاداعي لشرحها لأنها معروفة ) ملاحظة مهمة : عند تفعيل اي واحده منهم سيسألك المنتدي عن الكود السري من وقت لأخر وهذا لا يعني ان هناك شخص قد قام بإختراق حسابك , هذا فقط للتأكد من انك انت صاحب الحساب الاصلي وحتي في حال تم إختراق حسابك من اي عضو اخر لاتقلق لأن حسابك سيكون بأمان ولن يستطيع فعل اي شي الا بعد ان يقوم بإدخال الكود السري الذي يتم إرساله لك تم تثبيت الموضوع لفترة مؤقتة واتمني لكم التوفيق
    1 point
  30. تمت إزالة الردود السابقة , ويرجي عدم وضع ردود خارج محتوي الموضوع
    1 point
  31. للأسف ماهي من أسهل اللغات , الاساسيات حقتها سهلة ولكن تتعمق شوي تدخل في فجوة .. فتوقعك خاطئ ي صاحبي : ( خربت المفاجأة : (( بس اللوحة راح تكون بتصميم جبار ان شاء الله وراح تنتهي بعد فترة لأن حاليا مضغوط وما اقدر اشتغل عليها حاليا مو سالفة تعلم , وهي سالفة صقل مهارات .. كل ما تعودت على اللغة كل ما صارت اسهل أكثر فأكثر بس حاول تتعلمها زين واحفظها وتفهم كل حاجة ان شاء الله , وبالتوفيق للكل : ) ========= أحد افضل اللوحات الي جربتها , وناوي اسوي أفضل منها للعرب : )
    0 points
  32. لانك مش حاطط zombieKills بالسيرفر المفروض تحطها جنب function ( name , zombieKills) تصير كذا يعني الكود يصير هيك function kills (Name, zombieKills) for i,v in ipairs(getElementsByType("player")) do setElementData(v,"kills",tonumber(zombieKills)) end exports["guimessages"]:outputServer ( getRootElement(),"[Server] : #C00000"..Name.."#00FF00 Has Give All Players #FFFF00[ #66AA0D ZombesKillS!! #FFFF00 ]", 0, 255, 255,true) playSoundFrontEnd(getRootElement(), 44) end addEvent("kils",true) addEventHandler("kils",getRootElement(), kills) واسف مابي احطمك لاكنك زارف الكود من المود حق فادي فانديتيا حق Gta-Is
    0 points
×
×
  • Create New...