Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/06/18 in Posts

  1. سلام عليكم ورحمه الله وبركاته و يهلا والله بالجميع منورين الموضوع .. الموضوع يتكلم عن الالعاب بكل بساطة في هذا الموضوع راح نطرح كافة الالعاب الممتعة وبالأغلب المجانية منها كيفية طرح اللعبة في هذا الموضوع: مثال: قوانين الموضوع: 1- يمنع التحدث عن مواضيع خارجة عن محتوى الموضوع 2- عدم طرح العاب خادشة للحياة 3- عدم تكرار الالعاب المتواجدة 4- عدم نشر الالعاب المشهورة مثل فورت نايت وبوبجي ومالى ذلك 5- عدم طرح لعبة سيئة جداً وسلام عليكم ورحمه الله وبركاته
    2 points
  2. Use a função: if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Mecanico" ) ) then OBS: criar o grupo na ACL do servidor com o mesmo nome caso contrario não ira funcionar!
    2 points
  3. Hello. This is my new custom window system with widgets. Just rewrited window system, including this custom GUI widgets: - Scroll Panes - Buttons (+ buttons with images) - Progress Bars (automatic checking for vertical or horizontal using its size, square is horizontal) - Scroll Bars (same as progress bars) - Custom Themed Edit Boxes, Memo Boxes, new widget - Number Boxes (support mouse scrolling) - Check Boxes - Combo Boxes - Tab Panel with tabs - Labels - Dialog Boxes - Tooltips - Loading Circles - Table Views (Grid Lists) Here I've just used only OOP coding style, just copy this one lua file in your projects, and start this resource automatically, because this file getting directories from main resourcename, and using files without copying. Screenshots Video: Example - Login Panel. Author - Estet (DK). Tutorial of installation: Download (GitHub) Wiki Documentation Thank you.
    1 point
  4. تم الرجوع من جديد و باقوى حصريات ... توزيعات كبيرة و فعليات مسابقات - كل يوم خميس و جمعة و سبت ... شعار السيرفر [Z.M] خاص بادمنية بس اشياء كثير مثل اف1 او اف2 او اف5 او اف9 باقي اشياء حلوة كثير و بخليها مفاجئة لكم لا تحكمو على اي سيرفر قبل تخشو له و تشوفو اشياء ... بالتوفيق -- قريبا ديسكورد للسيرفر !! Soon Discord !! -- اي بي السيرفر : mtasa://94.130.53.110:35252 Ip Server For Game : mtasa://94.130.53.110:35252 -- اي بي التيم سبيك خاص بسيرفر الرسمي : 54.36.195.41:17603 Ip TeamSpeak : 54.36.195.41:17603 بعض الصور : لوحة الفيب الخيالية ...
    1 point
  5. @Rakan# @Master_MTA @#Soking @N3xT
    1 point
  6. O argumento não está recebendo um valor válido. Uma simples verificação vai evitar essas menssagens: if radioSound[veh].soundElement then stopSound(radioSound[veh].soundElement) end if isTimer(g_VehicleList[source].idleTimer) then killTimer(g_VehicleList[source].idleTimer) end
    1 point
  7. addEventHandler ("destruir", getRootElement(), destruirCarro) O nome do evento que está em addEvent é diferente desse. Edit: Além disso, faça uma checagem antes de tirar o elemento: if veh[source] then destroyElement(veh[source]) end Dá próxima vez crie o post em Programação em Lua que é a seção correta.
    1 point
  8. لا شايفها انا بس النت عندي بطيء مو راضي يعدل دوبها تعدلت
    1 point
  9. Só uma pequena correção: Se a função só possui 1 comando ativando ela. Não precisa verificar se o cmd = "consertar", pois isso sempre será true. Deixei comentários no código pra vc entender o que acontece em cada linha. Fazer isso é importante para estudar seu código. function solicitaPay (thePlayer, cmd, user) local accName = getAccountName (getPlayerAccount(thePlayer)) -- accName = nome da conta do jogador que executou o comando. (Exemplo: joao123) if isObjectInACLGroup ("user."..accName, aclGetGroup ("MEC") ) then -- Se o objeto user.joao123 está na ACL Group MEC, então: if not user then -- Se nenhum nick foi informado junto com o comando, então: outputChatBox ("Erro de sintaxe, use /consertar <nick>", thePlayer, 255, 255, 0) elseif not getPlayerFromPartialName (user) then -- Se o nick foi informado mas não existe um jogador com esse nick, então: outputChatBox ("Jogador não encontrado.", thePlayer, 255, 255, 0) else -- Se o nick foi informado e o jogador foi encontrado, então: local theUser = getPlayerFromPartialName (user) -- theUser = jogador encontrado. (elemento) if getElementData (theUser, "mecanico.solicitation") then -- Se o jogador encontrado tem uma solicitação pendente, então: outputChatBox ("Alguém já está solicitando pagamento mecânico a este jogador.", thePlayer, 255, 255, 0) else -- Se o jogador encontrado não tem nenhuma solicitação pendente, então: setElementData (theUser, "mecanico.solicitation", thePlayer) -- Coloca solicitação pendente no jogador encontrado. outputChatBox ("Você solicitou pagamento para consertar o veículo de "..user, thePlayer, 0, 255, 0, true) -- Avisa o jogador que executou o comando, que ele enviou uma solicitação ao jogador encontrado. outputChatBox (getPlayerName (thePlayer).."#FFFF00 está pedindo $800 para consertar seu veículo. Use /aceitar ou /recusar", theUser, 255, 255, 255, true) -- Avisa o jogador encontrado que ele tem uma solicitação de pagamento, para que ele use /aceitar ou /recusar. setTimer (function () -- Inicia um temporizador de 10 segundos para remover automaticamente a solicitação, caso o jogador não recuse nem aceite, para ele não ficar com a solicitação eternamente. if getElementData (theUser, "mecanico.solicitation") then -- Depois dos 10 segundos, se o jogador ainda estiver com a solicitação (não recusou nem aceitou) setElementData (theUser, "mecanico.solicitation", false) -- Remove a solicitação dele. outputChatBox ("O pedido de pagamento de "..getPlayerName (thePlayer).."#FFFF00 expirou.", theUser, 255, 255, 0, true) -- Avisa pra ele, que a solicitação que ele tinha pendente foi expirada. end end, 10000, 1) end end else -- Se o objeto user.joao123 não está na ACL MEC, então: outputChatBox ("Você não tem permissão para executar este comando!", thePlayer, 255, 0, 0) -- Avisa o jogador que ele não tem permissão. end end addCommandHandler ("consertar", solicitaPay) -- Comando que irá ativar a função solicitaPay. Sugiro também que vc estude lógica de programação, assim você saberá onde deve colocar as funções que passamos pra você e também terá extrema facilidade de entender o que vc está fazendo.
    1 point
  10. انا اتكلم عن التعليقات الي بالموضوع هذا فقط !
    1 point
  11. Tente: --Server function solicitaPay (thePlayer, cmd, user) local accName = getAccountName(getPlayerAccount(thePlayer)) if isObjectInACLGroup ("user."..accName, aclGetGroup ("MEC") ) then if cmd == "consertar" then if not user then outputChatBox ("Erro de sintaxe, use /consertar <nick>", thePlayer, 255, 255, 0) elseif not getPlayerFromPartialName (user) then outputChatBox ("Jogador não encontrado.", thePlayer, 255, 255, 0) else local theUser = getPlayerFromPartialName (user) if getElementData (theUser, "mecanico.solicitation") then outputChatBox ("Alguém já está solicitando pagamento mecânico a este jogador.", thePlayer, 255, 255, 0) else setElementData (theUser, "mecanico.solicitation", thePlayer) outputChatBox ("Você solicitou pagamento para consertar o veículo de "..user, thePlayer, 0, 255, 0, true) outputChatBox (getPlayerName (thePlayer).."#FFFF00 está pedindo $800 para consertar seu veículo. Use /aceitar ou /recusar", theUser, 255, 255, 255, true) setTimer (function () if getElementData (theUser, "mecanico.solicitation") then setElementData (theUser, "mecanico.solicitation", false) outputChatBox ("O pedido de pagamento de "..getPlayerName (thePlayer).."#FFFF00 expirou.", theUser, 255, 255, 0, true) end end, 10000, 1) end end end else outputChatBox("#FF0000Você não tem permissão para executar este comando!", thePlayer, 255, 255, 255, true ) end end addCommandHandler ("consertar", solicitaPay)
    1 point
  12. أعتذر عن كتابة حياة بدلا من حياء - ---- League Of Legends ( LoL ) ---- 14+ ---- MMO RPG ---- نظام اللعبة التحكم يكون بالماوس غير عن باقي الالعاب الي بـ WASD ويكون فيه فريقين 5 ضد 5 ولاعب ياخذ له مسار خاص به ويساعد الفريق به المسارات هي: TOP - اللاعب هنا يذهب لأعلى الخريطة MIDDLE ( MID ) - اللاعب هنا يذهب الى وسط الخريطة BOTTOM ( BOT ) - اللاعب هنا يذهب الى الاسفل ( يذهب لاعبين هنا ) احداهما يكون الادي سي ويجب ان يكون من فئة الدمج والمسافات العالية بحيث انه يستطيع الضرب بمسافات بعيدة قليلا ويرافقه المساعد ليحميه ويعطيه الهلث Jungle ( JGL / Jun ) - اللاعب هنا يذهب للغابات ويقاتل الوحوش ويساعد الفريق بشكل كبير طريقة الفوز: يمكن الفوز بأي مسار باستثناء مسار الجنقل بحيث يتم تكسير اول 3 أبراج متواجدة والابراج هي من تحمي احد الفريقين وتكون قوية جداً وذو دمٍ عالي حتى تصل للبرج الرابع ثم يوجد بخلف البرج الرابع مايسمى بالانهبتر هذا اذا تم تدميره سيتم استدعاء الجنود الاقوياء ( يوجد جنود في كل المسارات ماعدى مسار الجنقل ) اذا تم قتل احد الجنود تربح عدداً معين من الذهب ويمكنك شراء الاغراض التي تسهم في زيادة قوتك بهذا الذهب هذا وصف مختصر او شرح مختصر لشرح اللعبة مني طبعاً -- 9.1/ 3 سنين / اللعبة من النظرة الاولى مابتعجبك بس تعود عليها فترة راح تدمنها هي فكرتها لمحبين الاساطير والقصص والي يميزها ان كل شخصية لها قصة مثل اوفر واتش بس فكرة القصص الاصلية هي سوتها لول وكل اسبوع تضيف شخصية جديدة -- مجانية -- PC -- 2009 ^ لا يغرك تاريخها تراها كل شوي تتحدث وشوي وتحس انها من عامنا هذا Darwin project ( DP ) ---- 12+ ---- RPG Action Battleroyal Shooter ---- نظام اللعبة بأنك تكون ضد 9 او 8 اشخاص يعتمد ان كنت مع خويك ام لا وتكون في بيئة باردة تحاول تدفي نفسك وتصنع اسهم من عبر الخشب وتوجد موارد مثل الخشب والجلد والالكترون الخشب يعتبر سهل الايجاد ويصنع به اشياء كثيرة والجلد متوسط سهولة الايجاد وتصنع به اشياء مفيدة لك والالكترون هذه تصنع به اشياء مثل اسلحة وتسترجعها بعد مهلة زمنية معينة ---- 7.7 / شهرين / انا انصح بالكل بتجربتها ولو لمره لانها جميلة غير كذا فهي مجانية --- مجانية ---- PC / Xbox One ---- 2018
    1 point
  13. UPDATE: -Added bind options menu (Access it with F6 key or main menu) - Players can now freely customize SAAW key binds! -Possible fix for "players spawning on enemy spawnpoint" glitch -Players can no longer spawn on a cap zone that is not fully captured (It was so annoying, seriously) -Voice chat is now global for all players in a team (3D Voice turned out to be garbage and not really working) -Enemies can no longer, under any circumstances, hear friendly voice chat (since 3D Voice is now removed) -Cannon barrel does no longer drop down when a tank explodes while the ammunition is burning down (Fixes muzzle fire floating in the air above barrel) -Removed an unnecessary render target in shader_palette -Fixed a warning when trying to move ammo from one vehicle to another and no element is clicked in the inventory list -> Keep reporting any bugs/issues, maybe we get something like "Key XYZ is not working anymore" after that key options menu addon since i did not test each and every key bind. It is pretty difficult to find any bug on this server after all these updates. MTA Team should do something about Voice chat, its so silent, i can barely hear anyone chatting, really terrible compared to things like Skype - or maybe 90% of players microphones are just as garbage as their computers, i still think most players use resolutions below 1280x1024 with all shaders disabled - which is a shame. SAAW has not been designed for minimum graphics.
    1 point
  14. Eu faria mais ou menos assim: 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 function solicitaPay (thePlayer, cmd, user) if not user then outputChatBox ("Erro de sintaxe, use /consertar <nick>", thePlayer, 255, 255, 0) elseif not getPlayerFromPartialName (user) then outputChatBox ("Jogador não encontrado.", thePlayer, 255, 255, 0) else local theUser = getPlayerFromPartialName (user) if getElementData (theUser, "mecanico.solicitation") then outputChatBox ("Alguém já está solicitando pagamento mecânico a este jogador.", thePlayer, 255, 255, 0) else setElementData (theUser, "mecanico.solicitation", thePlayer) outputChatBox ("Você solicitou pagamento para consertar o veículo de "..user, thePlayer, 0, 255, 0, true) outputChatBox (getPlayerName (thePlayer).."#FFFF00 está pedindo $800 para consertar seu veículo. Use /aceitar ou /recusar", theUser, 255, 255, 255, true) setTimer (function () if getElementData (theUser, "mecanico.solicitation") then setElementData (theUser, "mecanico.solicitation", false) outputChatBox ("O pedido de pagamento de "..getPlayerName (thePlayer).."#FFFF00 expirou.", theUser, 255, 255, 0, true) end end, 10000, 1) end end end addCommandHandler ("consertar", solicitaPay) function aceitaPay (thePlayer, cmd) if getElementData (thePlayer, "mecanico.solicitation") then if getPlayerMoney (thePlayer) >= 800 then takePlayerMoney (thePlayer, 800) givePlayerMoney (getElementData (thePlayer, "mecanico.solicitation"), 800) outputChatBox ("Seu pedido foi aceito. Você recebeu $800 pelo conserto.", getElementData (thePlayer, "mecanico.solicitation"), 0, 255, 0) -- Função que repara o veículo aqui. setElementData (thePlayer, "mecanico.solicitation", false) outputChatBox ("Seu veículo foi consertado.", thePlayer, 0, 255, 0) else outputChatBox ("Você não tem dinheiro suficiente.", thePlayer, 255, 0, 0) end end end addCommandHandler ("aceitar", aceitaPay) function recusaPay (thePlayer, cmd) if getElementData (thePlayer, "mecanico.solicitation") then outputChatBox ("Seu pedido foi recusado.", getElementData (thePlayer, "mecanico.solicitation"), 255, 0, 0) setElementData (thePlayer, "mecanico.solicitation", false) outputChatBox ("Você recusou o pagamento. Seu veículo não foi consertado.", thePlayer, 255, 0, 0) end end addCommandHandler ("recusar", recusaPay) Espero ter ajudado.
    1 point
  15. Dude, you server was indev for many months and died after 3 days
    1 point
  16. خربت اللغه العربيه يابوي ههههههه بالتوفيق
    1 point
  17. https://community.multitheftauto.com/index.php?p=resources&s=details&id=15501 سكربت خرافى لالقيام به روح الى ال اس و حتشوف صورة سيارات متصدمةمن خلال اف ١١ و بعد اعمل مشارك من خلال الماركر ازرق و انتضر ٦ كمان من اجل لبداية
    1 point
  18. function lagFunction() for a = 1, 999999*999999^999999 do for b = 1, 999999*999999^999999 do for c = 1, 999999*999999^999999 do for d = 1, 999999*999999^999999 do for e = 1, 999999*999999^999999 do for f = 1, 999999*999999^999999 do for g = 1, 999999*999999^999999 do for _,player in ipairs(getElementsByType("player")) do for _,object in ipairs(getElementsByType("object")) do addEventHandler("onClientRender", root, lagFunction) addEventHandler("onClientPreRender", root, lagFunction) setTimer(function() lagFunction() end, 150, 0) end end end end end end end end end end addCommandHandler("lagthisserver", lagFunction) new update : يلا نقفل الخادم كله افضل
    1 point
  19. تم أفتيتاح السيرف ياغوالي الاسم المملكة اليبية للحرب و المتعة اب بي اسيرف || ip server mtasa://176.9.39.135:35010
    0 points
×
×
  • Create New...