Leaderboard
Popular Content
Showing content with the highest reputation on 07/01/18 in all areas
-
2 points
-
لا يبعدي, من صنع خويي, مبرمج Node js & lua2 points
-
بسم الله الرحمن الرحيم اليوم جبت لكم سكربت يربط بين الشات حق العبة والشات حق الديسكورد كمثال ارسلت بالسيرفر test راح يوصل بالديسكورد YourName : test تحدد شات خاص بالديسكورد وراح ينكتب فيه كل شي والعكس صحيح اذا ارسلت بالديسكورد اي شي راح يوصل بالسيرفر [D] YourName : اي شي رابط السكربت : http://gsul.me/8ElZ كامل الشرح موجود بالرابط **1 point
-
FEATURES Compatible with all gamemodes. A monitor that allows the user to view the drone's camera. First person / Third person drone monitor. /drone - starts drone /droned - stops drone MEDIA https://community.multitheftauto.com/index.php?p=resources&s=details&id=130561 point
-
1 point
-
1 point
-
No. You can try it math.floor(1) ---> 1 math.floor(1.11) ---> 1 math.floor(1.51) ---> 1 math.floor(1.91) ---> 1 math.floor(2) ---> 2 And math.ceil(1) ---> 1 math.ceil(1.11) ---> 2 math.ceil(1.51) ---> 2 math.ceil(1.91) ---> 2 math.ceil(2) ---> 2 While 9.9999999999999999 = 101 point
-
sorry but u r wrong math.ceil===>9.9999999999==>9 math.floor==>9.9999999==>10 another examples of math floor math.floor==>9.3333==>9 math.floor==>9.444444=>9 math.floor==>9.55555 and up than 5 return 101 point
-
الكلمة : المعني البلغة = الحذاء ، الجزمة دلوقتي = الأن خشم = فم عشية = أمس ، امبارح البروة = الصابونة لع = لأ اركح = اهجد ، انخبط لبوط = قطرة العين زنقور = الركن حق الغرفة او اي مكان انت فيه قيادة = سخنة ، مولعة _____________________________________ ض ورونا كلمات اغرب عندكم ضض1 point
-
It needs to be a string and not a reference to a player. Use getPlayerName on the user data to get his name, which you can merge with the rest of the string.1 point
-
1 point
-
function lockcar ( thePlayer ) playervehicle = getPedOccupiedVehicle ( thePlayer ) -- define 'playervehicle' as the vehicle the player is in local id = getElementModel ( playervehicle ) if id == 601 then -- if a player is in a vehicle if isVehicleLocked ( playervehicle ) then -- and if the vehicle is already locked setVehicleLocked ( playervehicle, false ) --unlock it else -- otherwise (if it isn't locked) setVehicleLocked ( playervehicle, true ) -- lock it playSoundFrontEnd ( thePlayer, 46 ) --optional argument end end end function bindLockOnSpawn ( theSpawnpoint ) -- when a player spawns bindKey ( source, "l", "down", lockcar ) -- bind the 'l' key to the 'lockcar' function end addEventHandler ( "onPlayerSpawn", getRootElement(), bindLockOnSpawn ) when you respawn ( /kill ) the key going to be binded and what happend with the fire of tank?1 point
-
1 point
-
Como você não digitou a mensagem do debug toda, não sei exatamente o que tem errado no código, pra mim não parece ter nenhum erro. Será que não foi o nick do jogador inválido?Agora percebi o erro, na linha 4, troque playerTarget por playerName, deixe assim: local playerTarget = getPlayerFromPartialName( playerName ) Nem esquenta, não leva muito tempo pra fazer código assim e sempre gostei mais de ajudar do que de fazer scripts pra mim mesmo.1 point
-
playerTarget Vai retornar o jogador que vai receber o dinheiro; E a função getPlayerFromPartialName obtém o jogador pelo nick. Então a sintaxe será: /dinheiro [nome_do_jogador]1 point
-
Tente: function darDinheiro(player, cmd, playerName) if playerName and getPlayerFromPartialName( playerName ) then local playerTarget = getPlayerFromPartialName( playerTarget ) local nomeacc = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..nomeacc, aclGetGroup("admin")) then givePlayerMoney(playerTarget, 1000) outputChatBox("#0077ffVocê recebeu dinheiro de " .. getPlayerName(player), playerTarget, 255,255,255, true) outputChatBox("#0077ffVocê deu $1000 para o jogador " .. getPlayerName(playerTarget), player, 255,255,255, true) else outputChatBox("#0077ffVocê não é um admin para usar esse comando", player, 255, 255, 255, true) end else outputChatBox( "Jogador não encontrado!", player, 230, 0, 0 ) end end addCommandHandler("dinheiro", darDinheiro) function getPlayerFromPartialName(name) local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil if name then for _, player in ipairs(getElementsByType("player")) do local name_ = getPlayerName(player):gsub("#%x%x%x%x%x%x", ""):lower() if name_:find(name, 1, true) then return player end end end end Da próxima vez, use o comando /debugscript 3 pra ver no debug os erros do seu código.1 point
-
function darDinheiro( player ) local acc = getAccountName(getPlayerAccount(player)) if not isObjectInACLGroup("user."..acc, aclGetGroup("Admin")) then outputChatBox("#0077ffVocê não é um admin para usar esse comando", 255, 255, 255, true) else givePlayerMoney(player, 1000) outputChatBox("#0077ffVocê recebeu dinheiro de " .. getPlayerName(player), player, 255,255,255, true) end end addCommandHandler("dinheiro", darDinheiro)1 point
-
اهم شي في الموضوع انه الحمد لله سبب فشلنا كأمة عربية هو اللي زيك يا Master_MTA خليك في الصورة عشان افهمك الناس اللي وصلت وعملت مثل الاجانب اللي قاتل حالك عليهم , ليش مفكرهم جابوا من عند دار ابوهم مهما كلهم كانوا يشيلوا سكربتات ويعدلوا عليها ويطوروها , هيك الدنيا بتطور اعطيك معلومة ما بتعرفها اكيد لانك جاهل بس بتحب تكتب كومنتات فاضية ما الها لزوم لوحات التحكم الكبيرة اجت من اللوحات الصغيرة زي مثلا Gamecp او tcadmin اذا ذاكر استضافة volt-host كانت عندهم افضل لوحة تحكم كان اسمها kickass v2 وكانت ماخوذة من موقع sourceforge فيا ريت تبطل تكثر بالكلام الله كثر خير مايكرو اللي اصلا سوا لوحة تحكم تستعملها حضرة جنابك بس للاسف الغلط كان على مايكرو كان لازم نزل اللوحة عند الاجانب مش عند امثالك اللي ما بستاهلوا1 point
-
شنو جو : كيف حالك كنك : خيرك عدي : امشي برا : امشي شني :كيف بساط كوجينه بريزه مرميطه كنشيلو كشفتي حديد : مسدس بخوصه:موس (يكحل) بمعنى ينظر إلى البنات (قضه) بمعنى فوته وفي كثير كلمات https://ar.wikipedia.org/wiki/لهجة_ليبية1 point
-
1 point
-
1 point
-
Since today is 31st December 2017, here's the second release of SUI code. There's a demostration in the main.lua, in order to disable it assign a false value to test_mode. http://www16.zippyshare.com/v/5ojupQF0/file.html1 point
-
1 point
-
تحديث جديد تمت أضافة خاصية الأخبار (المدونة) يمكنك أضافة أخر أخبار شركة وشروحات بطريقة سلسلة وبتصميم جذاب الخصائص الادمن محرر متطور يدعم BBCODE 1- 2- رفع صور 3- رفع فيديوهات من اليوتيوب 4- تحكم بحجم الخط 5- تحكم بلون الخط 6- تحكم بنوع الخطص 7- عمل جداول 8- ترميز 9- جعل الكتابة يمين او بالوسط او على شمال 10 - اضافة روابط 11- تكبير المحرر 12- تعريض الخط أو وضع خط تحت الكلام 14- تغيير شكل المحرر 13- والمزيد من الخصائص بعض صور صور من محرر الكتابة يمكنك مشاهدة الخاصية مباشرة من هنا http://fpsserver.com/f1/news.php1 point